password
Verified User
- Joined
- Oct 11, 2011
- Messages
- 127
Hi guys
MySQL stopped working on my server today. I decided to reinstall MySQL with custombuild and tried:
I then get the following error:
Can someone give me some pointers on how to get MySQL reinstalled? I have manual backups of each database so i don't need to restore anything.
Regards
password
MySQL stopped working on my server today. I decided to reinstall MySQL with custombuild and tried:
Code:
cd /usr/local/directadmin/custombuild
./build mysql d
I then get the following error:
Code:
Dumping database mysql
mysqldump: Got error: 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) when trying to connect
Dumping database performance_schema
mysqldump: Got error: 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) when trying to connect
Dumping database test
mysqldump: Got error: 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) when trying to connect
Stopping mysqld ...
Stopping mysqld: [ FAILED ]
Starting mysqld: [ OK ]
Giving mysqld a few seconds to start up...
Looking for 'mysql' as: /usr/local/mysql/bin/mysql
Looking for 'mysqlcheck' as: /usr/local/mysql/bin/mysqlcheck
Running 'mysqlcheck with default connection arguments
/usr/local/mysql/bin/mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) when trying to connect
FATAL ERROR: Upgrade failed
Restarting MySQL.
Stopping mysqld: [ FAILED ]
Starting mysqld: [ OK ]
It is recommended to do "./build php n" after MySQL update.
Can someone give me some pointers on how to get MySQL reinstalled? I have manual backups of each database so i don't need to restore anything.
Regards
password