I was importing an old SQL into existing schema. But the MySQL service was stopped suddenly. Now I’m not able to start the service. It seems that the ibdata1 file is somehow corrupted. Here are the logs I got:
2017-04-03T20:22:51.755926Z 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 35 2017-04-03T20:22:51.755950Z 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files. 2017-04-03T20:22:52.760218Z 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 35 2017-04-03T20:22:52.760248Z 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files. 2017-04-03T20:22:53.761599Z 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 35 2017-04-03T20:22:53.761623Z 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files. 2017-04-03T20:22:54.766279Z 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 35 2017-04-03T20:22:54.766308Z 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files. 2017-04-03T20:22:54.766316Z 0 [Note] InnoDB: Unable to open the first data file 2017-04-03T20:22:54.766342Z 0 [ERROR] InnoDB: Operating system error number 35 in a file operation. 2017-04-03T20:22:54.766369Z 0 [ERROR] InnoDB: Error number 35 means 'Resource temporarily unavailable' 2017-04-03T20:22:54.766376Z 0 [Note] InnoDB: Some operating system error numbers are described at http://dev.mysql.com/doc/refman/5.7/en/operating-system-error-codes.html 2017-04-03T20:22:54.766382Z 0 [ERROR] InnoDB: Cannot open datafile './ibdata1' 2017-04-03T20:22:54.766406Z 0 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data! 2017-04-03T20:22:54.766417Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Cannot open a file 2017-04-03T20:22:55.072312Z 0 [ERROR] Plugin 'InnoDB' init function returned error. 2017-04-03T20:22:55.072337Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 2017-04-03T20:22:55.072355Z 0 [ERROR] Failed to initialize plugins. 2017-04-03T20:22:55.072361Z 0 [ERROR] Aborting 2017-04-03T20:22:55.072372Z 0 [Note] Binlog end 2017-04-03T20:22:55.072484Z 0 [Note] Shutting down plugin 'CSV' 2017-04-03T20:22:55.072678Z 0 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete
I’ve tried several ways, such as adding the
my.cnf and killing all of the MySQL process. None of them works. Could anyone help?
✓ Extra quality
ExtraProxies brings the best proxy quality for you with our private and reliable proxies
✓ Extra anonymity
Top level of anonymity and 100% safe proxies – this is what you get with every proxy package
✓ Extra speed
1,ooo mb/s proxy servers speed – we are way better than others – just enjoy our proxies!
USA proxy location
We offer premium quality USA private proxies – the most essential proxies you can ever want from USA
Our proxies have TOP level of anonymity + Elite quality, so you are always safe and secure with your proxies
Use your proxies as much as you want – we have no limits for data transfer and bandwidth, unlimited usage!
Superb fast proxy servers with 1,000 mb/s speed – sit back and enjoy your lightning fast private proxies!
99,9% servers uptime
Alive and working proxies all the time – we are taking care of our servers so you can use them without any problems
No usage restrictions
You have freedom to use your proxies with every software, browser or website you want without restrictions
Perfect for SEO
We are 100% friendly with all SEO tasks as well as internet marketing – feel the power with our proxies
Buy more proxies and get better price – we offer various proxy packages with great deals and discounts
We are working 24/7 to bring the best proxy experience for you – we are glad to help and assist you!