Error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
removed
root@server2:/var/lib/mysql# rm -rf my.cnf mysql.cnf mysql.conf.d
and var/lib/mysql
also
apt remove exim4
apt install mysql-server
finally uninstall and reinstall mysql. **
- sudo apt-get remove mysql-server
- sudo apt-get remove mysql-client
- sudo apt-get remove mysql-common
- sudo apt-get remove phpmyadmin
Comments
Post a Comment