cannot connect DB...
#1

Hello,

 

 

for two days, when I run the files, I get the message telling me that "cannot connect DB" (see picture --> 2 ), but the website I use is configured in the same way as files and it works perfectly.

 

I also look in LCKB, my problem has already been solved by saying that it is an error identifier and password, but my problem is all right place.

 

Would you bring me a solution please? waiting for your answer, I Thank You in advance for taking the time to my worries.

#2
be sure you are running mysqld

#3
May I ask if you are running mysql server? There might be some error which has occured try manually start the mysql server, if that wont help could you provide us a bit more details, there might be a error occured with mysql.sock file which stops you from connecting to db if thats the case you have to delete the mysql.sock file.

#4

Open terminal and write this if you cant start mysqld:

service mysqld stop mv /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock.bak service mysqld start
#5
mysql sock is missing for me lol

#6

Hello, 

 

Thank you for your help, sorry for not responding sooner I was very busy. 

 

I uninstalled everything and reinstall everything works perfectly now Smile

#7

Hi.

As you got your answer, and your problem is solved, I am gonna move that topic to Solved section and mark it as solved.

 

Thanks,

 

-LCKB Staff



Forum Jump:


Users browsing this thread: 1 Guest(s)