--初始化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内容请搜索靠谱客的其他文章。
发表评论 取消回复