I setup a new server, running 5.6.
I want to move the default data folder to a faster disk. Some google searches say to move the data folder and update the location in the conf file. So I changed it like this:
#datadir=C:/ProgramData/MySQL/MySQL Server 5.6/Data
datadir=I:/Data
I moved all the contents of the old data file (after shutting down the server) and started back up.
No luck.
I get this:
[Warning] InnoDB: Cannot open table mysql/slave_master_info from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
[Warning] Info table is not ready to be used. Table 'mysql.slave_master_info' cannot be opened.
[Warning] InnoDB: Cannot open table mysql/slave_worker_info from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
[Warning] InnoDB: Cannot open table mysql/slave_relay_log_info from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
[Warning] Info table is not ready to be used. Table 'mysql.slave_relay_log_info' cannot be opened.
[ERROR] Event Scheduler: Failed to open table mysql.event
[ERROR] Event Scheduler: Error while loading from disk.
[Note] Event Scheduler: Purging the queue. 0 events
[ERROR] Aborting
I know it is accessing the new data folder, becuase it updates the error log there. What am I missing?
I want to move the default data folder to a faster disk. Some google searches say to move the data folder and update the location in the conf file. So I changed it like this:
#datadir=C:/ProgramData/MySQL/MySQL Server 5.6/Data
datadir=I:/Data
I moved all the contents of the old data file (after shutting down the server) and started back up.
No luck.
I get this:
[Warning] InnoDB: Cannot open table mysql/slave_master_info from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
[Warning] Info table is not ready to be used. Table 'mysql.slave_master_info' cannot be opened.
[Warning] InnoDB: Cannot open table mysql/slave_worker_info from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
[Warning] InnoDB: Cannot open table mysql/slave_relay_log_info from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
[Warning] Info table is not ready to be used. Table 'mysql.slave_relay_log_info' cannot be opened.
[ERROR] Event Scheduler: Failed to open table mysql.event
[ERROR] Event Scheduler: Error while loading from disk.
[Note] Event Scheduler: Purging the queue. 0 events
[ERROR] Aborting
I know it is accessing the new data folder, becuase it updates the error log there. What am I missing?