...
Installing and Setting Up MySQL
Please install Install MySQL by using following command.
...
* If the MySQL has already been installed as the initial component, you can skip this process.
Setup /etc/my.cnf
コード ブロック |
---|
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
symbolic-links=0
old_passwords=1
default-character-set = utf8
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
[mysql]
default-character-set = utf8 |
Execute
コード ブロック |
---|
$ sudo /etc/init.d/mysqld start
$ sudo chkconfig mysqld on |
Create Database
コード ブロック |
---|
$ mysql -u root
CREATE DATABASE vo;
GRANT ALL PRIVILEGES ON vo.* TO 'vouser'@'localhost' IDENTIFIED BY 'YOUR OWN PASSWORD'; |
Installing and Setting Up PHP
...