How To Fix Mysql Server Connect Error On Linux Mint

Go down

How To Fix Mysql Server Connect Error On Linux Mint

Post by jamied_uk on 22nd October 2016, 17:36



Code:
sudo gksu gedit /etc/mysql/my.cnf


Comment out bind-address and insert as below!
Code:

#bind-address        = 127.0.0.1
bind-address        = localhost


Now delete all unseeded files to make space and then restart server


Code:
sudo /etc/init.d/mysql restart
avatar
jamied_uk
Admin

Posts : 2432
Join date : 2010-05-09
Age : 35
Location : UK

http://address-shortner.co.uk

Back to top Go down

Re: How To Fix Mysql Server Connect Error On Linux Mint

Post by jamied_uk on 22nd October 2016, 17:47

The above is to fix the following type of error!


Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
avatar
jamied_uk
Admin

Posts : 2432
Join date : 2010-05-09
Age : 35
Location : UK

http://address-shortner.co.uk

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum