How can I backup the databases in MySQL 5.6 if it will not run? It will not create an mysql.sock
so I can't do a dump. I have also reinstalled MySQL 5.6 two times without errors and will not create mysql.sock to get the MySQL running to perform the dump / backup. I have the mysql directory renamed to mysql2 at this point. If I can get a MySQL working at all is it possible to move the database folders into the new database directory /var/db/mysql/ and then do the dump? Or will it just work and not have to do the dump at all? The only thing I was able to do successfully without the MySQL able to run is fix all the databases with myisamchk(8) because you don't need MySQL to run to perform it. mysqlcheck is out of the question and mysqldump is out of the question. I need serious help from an expert here. Thanks in advance.
How did this happen? My server was under attack from blog posting bots to the point I couldn't hardly load a site so I rebooted the server and it corrupted the mysql-bin log files and the Mysql indexes to the point that Mysql would not restart. Then I kept getting this error message...
I tried doing a
so I can't do a dump. I have also reinstalled MySQL 5.6 two times without errors and will not create mysql.sock to get the MySQL running to perform the dump / backup. I have the mysql directory renamed to mysql2 at this point. If I can get a MySQL working at all is it possible to move the database folders into the new database directory /var/db/mysql/ and then do the dump? Or will it just work and not have to do the dump at all? The only thing I was able to do successfully without the MySQL able to run is fix all the databases with myisamchk(8) because you don't need MySQL to run to perform it. mysqlcheck is out of the question and mysqldump is out of the question. I need serious help from an expert here. Thanks in advance.
How did this happen? My server was under attack from blog posting bots to the point I couldn't hardly load a site so I rebooted the server and it corrupted the mysql-bin log files and the Mysql indexes to the point that Mysql would not restart. Then I kept getting this error message...
Code:
ERROR 2002 (HY00): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
touch mysql.sock
and sure they can be created in the tmp folder no problem but when I restart it will not communicate with it. Just keeps showing that error.