概述
--初始化MySQL数据库的数据文件失败
[root@localhost maria]# ./scripts/mysql_install_db --user=mysql --datadir=/maria_data/
Installing MariaDB/MySQL system tables in '/maria_data/' ...
2016-06-17 17:31:21 140423554045920 [Note] ./bin/mysqld (mysqld 10.1.14-MariaDB) starting as process 13621 ...
Installation of system tables failed! Examine the logs in
/maria_data/ for more information.
The problem could be conflicting information in an external
my.cnf files. You can ignore these by doing:
shell> ./bin/scripts/mysql_install_db --defaults-file=~/.my.cnf
You can also try to start the mysqld daemon with:
shell> ./bin/mysqld --skip-grant --general-log &
and use the command line tool ./bin/mysql
to connect to the mysql database and look at the grant tables:
shell> ./bin/mysql -u root mysql
mysql> show tables
最后
以上就是受伤铃铛为你收集整理的源码安装mysql初始化报错_MariaDB 10.1源码安装执行mysql_install_db报错"system tables failed"...的全部内容,希望文章能够帮你解决源码安装mysql初始化报错_MariaDB 10.1源码安装执行mysql_install_db报错"system tables failed"...所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复