MySQL无法在Ubuntu上启动

时间:2018-03-20 16:00:21

标签: mysql mariadb

我正在关注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

中没什么用处

0 个答案:

没有答案