default mysql debian.cnf contents Ubuntu 15.10
I a very newbie to Ubuntu I was installing a LAMP stack on my brand new laptop and miss read something. And without thinking did not save a copy of the default /etc/mysql/debian.cnf. I remember it having a socket = line in it which for a stupid reason I removed but didn't save a backup. And now I can remember what the exact line was.
The result is I can't login to MySql and updates don't work. Would someone please post an example of a default debian.cnf install. Thanks in advance, Roy |
You could save your changes and just purge and install MySQL.
|
Not sure how to purge. Think I understand apt-get install but not sure about dependencies
|
Quote:
Quote:
|
I might have missed a step but this command "fixed" mysql : sudo apt-get install --reinstall mysql-server-5.6
But then would get "ERROR 1524 (HY000): Plugin 'unix_socket' is not loaded" when trying to login in to mysql. Did a Google search for that error message and came up with http://askubuntu.com/questions/70545...-socket/705466 Followed the steps listed and now can login to mysql. |
Glad it worked out. Good job and well done.
|
All times are GMT -5. The time now is 05:24 AM. |