Problems with MySQL after updating PHP with custombuild 2.0

I tried that but unfortunately it didn't make a difference. Also, the value didn't change to /tmp/mysql.sock. Should I change php.ini directly or something else?
 
Is DA able to connect to MySQL? (On User Level if you got to MySQL Management are you able to see DB or you got an error?)

Can you paste the output for:
grep mysql.sock /etc/my.cnf* -R

On my box the sock is in /var/lib/mysql/mysql.sock

This is a CentOS box, i would rather suggest you to change MySQL configuration instead of the PHP one.

Best regards
 
Yes, I can. It shows all of my databases without any errors. The output of the command is:

Code:
socket=/tmp/mysql.sock
socket=/tmp/mysql.sock

Kind regards!
 
I had some issues with this as well, on Debian 7.

mysqldump didn't work (complaining about the .sock file), after a restart, websites didn't work anymore either. Changed localhost -> 127.0.0.1 in web app, and the website did work again.

I messed around with restarting, fixing .err errors.. nothing helped to fix the localhost + mysqldump.

Then I just updated mysql in CB 2.0 from mysql-5.6.33 to mysql-5.6.34 and it all went back to normal: localhost working, and mysqldump as well.

So I guess this should be really CB / server / install things related.
 
Back
Top