CodePudding user response:
Recommend to installCodePudding user response:
Regardless of the lost data, will the mysql - bin. The index content to empty, will start the database, which is the database to reset the log fileOr look at the http://www.xker.com/page/e2012/1122/121973.html
CodePudding user response:
Permissions problem!Chown mysql. Mysql/home/mysql
Chmod -r 777 mysql mysql/home/mysql
Then start the mysql service
CodePudding user response:
You said that the method had tried all uselessCodePudding user response:
Should be accidentally deleted some filesIf not already created a database and data file, a new error
Modifying my. CNF file directory:
Datadir=/var/lib/mysql to change directory
Restart the mysql, change passwords, initialization,
CodePudding user response:
3/f said very clearly, permission problems