Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1285  / 1 Year ago, fri, march 31, 2023, 3:25:29

I have been having trouble with my MySql setup. This morning it was a working mysql server I added a database and some data with phpMyAdmin then things started to go wrong.



I became unable to connect getting ERROR 2002 unable to connect to socket.



I have completley unistalled mysql server (as best I can) and deleted database files. And now I cannot reinstall it. I get a dpkg error "post-instalation script returned error exit status 1".



Running dpkg-reconfigure reports that "mysql-server-5.1 is broken or not fully installed" how do I find out what it is looking for?



The only thing I have removed is the mysql-server packages, I did install vsftpd at some point shortly before MySql stopped woking, is this known to break MySql??



Any thoughts apreciated


More From » 11.10

 Answers
6

Check what packages of myslq are/is still installed:



sudo dpkg -l | grep mysql*



To completely remove remaining mysql packages do:



sudo dpkg -P mysql*


[#39530] Saturday, April 1, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
llianconclad

Total Points: 65
Total Questions: 109
Total Answers: 127

Location: Mali
Member since Fri, Dec 3, 2021
2 Years ago
;