,执行./mysql_install_db --user=mysql --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data
报错
Installing MySQL system tables...2016-10-10 23:10:44 0 [Note] Ignoring --secure-file-priv value as server is running with --bootstrap.
2016-10-10 23:10:44 0 [Note] /usr/local/mysql/bin/mysqld (mysqld 5.6.34) starting as process 26722 ...
有哪位高手指点指点
root@localhost scripts]# ./mysql_install_db --user=mysql --basedir=/usr/local/mysql/ --datadir=/usr/local/mysql/data/
Installing MySQL system tables...2016-10-10 23:35:00 0 [Note] /usr/local/mysql//bin/mysqld (mysqld 5.6.33) starting as process 3120 ...
mysql5.6.33源码编译
答案:2 悬赏:80 手机版
解决时间 2021-12-20 06:16
- 提问者网友:浪荡绅士
- 2021-12-19 10:57
最佳答案
- 五星知识达人网友:孤老序
- 2021-12-19 11:31
重点不是这里,重点是下面的错误:
[ERROR] Plugin 'InnoDB' init function returned error.
[ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
[ERROR] Unknown/unsupported table type: InnoDB
[ERROR] Aborting
把你的 datadir 数据目录清空。重新运行mysql_install_db
[ERROR] Plugin 'InnoDB' init function returned error.
[ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
[ERROR] Unknown/unsupported table type: InnoDB
[ERROR] Aborting
把你的 datadir 数据目录清空。重新运行mysql_install_db
全部回答
- 1楼网友:归鹤鸣
- 2021-12-19 12:16
吧硬盘挂到另外一台机器里,吧数据库复制出来就可以了,\r\n好像windows下有软件可以识别linux的分区的,不过我没试过,可以去搜搜
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯