MySQL stop, help please
MySQL stop, i don’t know why :/
Error: Unable to connect to MySQL and select database. MySQL reported: Can’t connect to local MySQL server through socket ‚/tmp/mysql.sock’ (2).
When i try :
./build mysql
i have this error :
root@bretubber:/usr/local/directadmin/custombuild# ./build mysql
You cannot install MySQL, because you do not have it set in options.conf file.
root@bretubber:/usr/local/directadmin/custombuild# nano /usr/local/directadmin/custombuild/options.conf
root@bretubber:/usr/local/directadmin/custombuild# ./build mysql
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‚/tmp/mysql.sock’ (2)
Stopping mysqld …
Stopping mysqld: [ OK ]
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: [ OK ]
Starting mysqld: [ OK ]
root@bretubber:/usr/local/directadmin/custombuild#
Can you help me please