SeLLeRoNe
Super Moderator
Hi,
ive update/reinstall apache/php and all by build system, but, after update, mysql stop working fine O_O
I know that that is impossible, the error on websites was that cannot find mysqld.sock ... ive checked and mysql was started and mysql.sock was in /tmp directory.. directadmin work fine and mysqld too.. but websites was looking for that sock in /var/run/mysqld/mysqld.sock so.. ive check php.ini and all config but i dont see anywhere this command line, ive made a symbolic link from /tmp/mysql.sock to /var/run/mysqld/mysqld.sock and now it work, but, when mysql get restarted, symbolic link will be automatic deleted.. how it is possible and how i can solve it?
Before php update all was wokring fine..
ive check other boxes all with Debian 4.0 and no-one of those box have this symbolic link...
Ive tryed to put in php.ini the path of mysql.sock but nothing changed...
Can someone help me or say me how can i make a permanent link between /tmp/mysql.sock to /var/run/mysqld/mysqld.sock?
Thanks all
Regards
ive update/reinstall apache/php and all by build system, but, after update, mysql stop working fine O_O
I know that that is impossible, the error on websites was that cannot find mysqld.sock ... ive checked and mysql was started and mysql.sock was in /tmp directory.. directadmin work fine and mysqld too.. but websites was looking for that sock in /var/run/mysqld/mysqld.sock so.. ive check php.ini and all config but i dont see anywhere this command line, ive made a symbolic link from /tmp/mysql.sock to /var/run/mysqld/mysqld.sock and now it work, but, when mysql get restarted, symbolic link will be automatic deleted.. how it is possible and how i can solve it?
Before php update all was wokring fine..
ive check other boxes all with Debian 4.0 and no-one of those box have this symbolic link...
Ive tryed to put in php.ini the path of mysql.sock but nothing changed...
Can someone help me or say me how can i make a permanent link between /tmp/mysql.sock to /var/run/mysqld/mysqld.sock?
Thanks all
Regards