Can't open and lock privilege tables: Table storage engine for 'db' doesn't have this option
有的朋友在使用Orchestrator时有报错:
MySQL是安装在docker容器中的,启动报错:
MySQL启动报错: 2021-02-24T17:04:28.640202+08:00 0 [ERROR] Fatal error: Can't open and lock privilege tables: Table storage engine for 'db' doesn't have this option 2021-02-24T17:04:28.640256+08:00 0 [ERROR] Fatal error: Failed to initialize ACL/grant/time zones structures or failed to remove temporary table files. 2021-02-24T17:04:28.640362+08:00 0 [ERROR] Aborting 解决: rm -rf /usr/local/mysql/data/* mysqld --defaults-file=/etc/my.cnf --initialize-insecure --user=mysql systemctl start mysqld mysql -uroot -p grant all on *.* to root@'localhost' identified by 'lhr' with grant option; grant all on *.* to root@'%' identified by 'lhr' with grant option; flush privileges; systemctl start mysqld systemctl restart orchestrator
About Me
........................................................................................................................ ● 本文作者:小麦苗,部分内容整理自网络,若有侵权请联系小麦苗删除 ● 本文在个人微 信公众号( DB宝)上有同步更新 ● QQ群号: 230161599 、618766405,微信群私聊 ● 个人QQ号(646634621),微 信号(db_bao),注明添加缘由 ● 于 2021年2月完成 ● 最新修改时间:2021年2月 ● 版权所有,欢迎分享本文,转载请保留出处 ........................................................................................................................ ● 小麦苗的微店: https://weidian.com/s/793741433?wfr=c&ifr=shopdetail ● 小麦苗出版的数据库类丛书: http://blog.itpub.net/26736162/viewspace-2142121/ ● 小麦苗OCP、OCM、高可用、MySQL、DBA学习班: http://blog.itpub.net/26736162/viewspace-2148098/ ● 数据库笔试面试题库及解答: http://blog.itpub.net/26736162/viewspace-2134706/ ........................................................................................................................ 请扫描下面的二维码来关注小麦苗的微 信公众号( DB宝)及QQ群(230161599、618766405)、添加小麦苗微 信(db_bao), 学习最实用的数据库技术。
........................................................................................................................ |