2. MySQL

安装:
apt-get install mysql-server
 
配置:
mysql_install_db
mysql_secure_installation
 
另有两处需要修改

[mysqld]
...
bind-address = 10.0.0.11

default-storage-engine = innodb
innodb_file_per_table
collation-server = utf8_general_ci
init-connect = 'SET NAMES utf8'
character-set-server = utf8

你可能感兴趣的:(mysql)