Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

数据库启动失败,原作者已经修复了 #38

Open
huilibing opened this issue Jul 9, 2019 · 0 comments
Open

数据库启动失败,原作者已经修复了 #38

huilibing opened this issue Jul 9, 2019 · 0 comments

Comments

@huilibing
Copy link

在onmp提供的 /opt/etc/mysql/my.cnf 有错,一共需要修改两处:

这一行有错:
lc_messages_dir = /opt/share/mysql
改成:
lc_messages_dir = /opt/share/mariadb

再增加一行:
innodb_use_native_aio = 0

存盘!

运行命令:
/opt/bin/mysql_install_db

或者直接修改onmp.sh 这个脚本,
找到 450 多行左右,修改那两处后 onmp open 运行重置数据库,

原作者地址:https://github.com/xzhih/ONMP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant