How To Fix Mysql Server Connect Error On Linux Mint

View previous topic View next topic 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

jamied_uk
Admin

Posts : 1973
Join date : 2010-05-09
Age : 34
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)

jamied_uk
Admin

Posts : 1973
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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