my friend,
maybe it is because of file permissions?
files IN /var/lib/mysql should be 660.
/var/lib/mysql should be 755.
Any of its subdirectories should be 700.
is it right?
if it is right how can i change the permissions regarding this?now all off them are 755!!
i have another question:
i have not any backup of my databases. if i back up /var/lib/mysql and rebuild and install new mysql is it possible to restore back databases from old /var/lib/mysql ?
i mean replace old one with the newly built
[root@server custombuild]# mysql_upgrade
The mysql_upgrade client is now deprecated. The actions executed by the upgrade client are now done by the server.
To upgrade, please start the new MySQL binary with the older data directory. Repairing user tables is done automatically. Restart is not...
cd /usr/local/directadmin/custombuild
./build update
./build set mysql_inst mysql
./build set mysql 5.6
./build mysql
./build set mysql 5.7
./build mysql
./build set mysql 8.0
./build mysql
i have another question:
i have not any backup of my databases. if i back up /var/lib/mysql and rebuild and install new mysql is it possible to restore back databases from old /var/lib/mysql ?
i mean replace old one with the newly built
Hello,
i recently upgrade from 5.7 to 8 with custombuild 2.0. but after the completion Mysql did not start!!
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
i have done anything that described here...