MySQL Forums
Forum List  »  Install & Repo

Re: Mysql 8.0.11 failed to start after changing datadir location
Posted by: Yoav Ben Moha
Date: April 24, 2018 06:05PM

Hi,
SELIUX is disabled and the directory /mysql_data is writable for user mysql
i have test it using : touch 1111 with user mysql and it worked fine.

/var/log/mysqld.log shows:

2018-04-24T18:58:20.671477Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.11) MySQL Community Server - GPL.
2018-04-24T23:49:36.678658Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.11) starting as process 4514
2018-04-24T23:49:36.691556Z 1 [ERROR] [MY-011011] [Server] Failed to find valid data directory.
2018-04-24T23:49:36.691723Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2018-04-24T23:49:36.691762Z 0 [ERROR] [MY-010119] [Server] Aborting
2018-04-24T23:49:36.692348Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.11) MySQL Community Server - GP

It seems like it still try to initialize the originial location :
#datadir=/var/lib/mysql ????

Please advise
Thanks

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.