LCKB
[How] do you fix a Mysql problem. - Printable Version

+- LCKB (https://lckb.dev/forum)
+-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109)
+--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193)
+---- Forum: Tutorials & Guides (https://lckb.dev/forum/forumdisplay.php?fid=124)
+----- Forum: General Guides (https://lckb.dev/forum/forumdisplay.php?fid=194)
+----- Thread: [How] do you fix a Mysql problem. (/showthread.php?tid=2877)



- iSixxer - 12-15-2013

Hello people,

I once had this error : 2

And I could not figure what it could be ...

So I posted it here and got help.

The problem is resolved quickly :

Go to your linux root account : root and the same password.

Go to -> Computer->Filesystem->var->lib->mysql and delete the mysql.stock file.

Then restart your virtual machine and its work.

So I hope it helps you.

the to2, for help me.




- fonsy84 - 02-25-2014


easy way:

 

 

rm $(grep socket /etc/my.cnf | cut -d= -f2)  && service mysqld start (paste into console)




- Douglas Farias - 03-05-2014


cd /var/lib/mysql/

 

touch mysql.sock

 

chmod +x mysql.sock

 

chown mysql:mysql -R *