我正在关注OpenStack安装教程。到达此处:https://docs.openstack.org/install-guide/environment-sql-database-ubuntu.html
apt install mariadb-server python-pymysql
sudo touch /etc/mysql/mariadb.conf.d/99-openstack.cnf
# Put this in above file...
[mysqld]
bind-address = 10.0.0.11
default-storage-engine = innodb
innodb_file_per_table = on
max_connections = 4096
collation-server = utf8_general_ci
character-set-server = utf8
我已创建.cnf
文件,现在sudo service mysql restart
失败。
我删除了.cnf
并开始了。
在/var/log/mysql/error.log