mysqladmin -uroot password 数据库密码
mysql -uroot -p数据库密码
Welcome to the MySQLmonitor. Commands end with ; or \g.
Your MySQL connection idis 3
Server version: 5.1.73Source distribution
Copyright (c) 2000, 2013,Oracle and/or its affiliates. All rights reserved.
Oracle is a registeredtrademark of Oracle Corporation and/or its
affiliates. Other namesmay be trademarks of their respective
owners.
Type 'help;' or '\h' forhelp. Type '\c' to clear the current input statement.
mysql>
vim /etc/httpd/conf/httpd.conf
#ServerNamewww.example.com:80
ServerName *:80
mysql -uownclouduser -p数据库密码
Welcome to the MySQLmonitor. Commands end with ; or \g.
Your MySQL connection idis 5
Server version: 5.1.73Source distribution
Copyright (c) 2000, 2013,Oracle and/or its affiliates. All rights reserved.
Oracle is a registeredtrademark of Oracle Corporation and/or its
affiliates. Other namesmay be trademarks of their respective
owners.
Type 'help;' or '\h' forhelp. Type '\c' to clear the current input statement.
mysql>
vim /etc/php.ini
; This directive allows you to disable certain classes for security reasons.
; It receives a comma-delimited list of class names. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
; http://php.net/disable-classes
disable_classes = 删除此行