You are not logged in.

#1 2009-11-23 21:06:51

murfMan
Member
Registered: 2009-10-27
Posts: 161

mysql broke again :(

just updated to mysql 5.1.41-3
now none of my apps are seeing it. 

i updated earlier this week and had to change the socket path in /etc/php/php.ini

current socket path is

mysql.default_socket = /tmp/mysqld/mysql.sock

Offline

#2 2009-11-23 21:08:10

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: mysql broke again :(

murfMan wrote:

just updated to mysql 5.1.41-3
now none of my apps are seeing it. 

i updated earlier this week and had to change the socket path in /etc/php/php.ini

current socket path is

mysql.default_socket = /tmp/mysqld/mysql.sock

i think the new configuration is installed (as pacman output says) in /etc/php/php.ini.pacnew. you have to merge those changes.

Last edited by wonder (2009-11-23 21:08:22)


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2009-11-23 21:09:28

murfMan
Member
Registered: 2009-10-27
Posts: 161

Re: mysql broke again :(

how do i do that?

Offline

#4 2009-11-23 21:16:03

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: mysql broke again :(

murfMan wrote:

how do i do that?

diff -u php.in php.ini.pacnew and add the changes to php.ini or if you don't have custom settings mv php.ini php.ini.backup && mv php.ini.pacnew php.ini


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2009-11-23 21:19:55

foutrelis
Developer
From: Athens, Greece
Registered: 2008-07-28
Posts: 705
Website

Re: mysql broke again :(

Also note that the socket path is fixed in php-5.3.1-1 so you shouldn't have to explicitly set mysql(i).default_socket.

Offline

#6 2009-11-23 21:25:34

murfMan
Member
Registered: 2009-10-27
Posts: 161

Re: mysql broke again :(

ok i replaced php.ini with php.ini.pacnew and it still doesn't work ;(

Offline

#7 2009-11-24 08:02:21

foutrelis
Developer
From: Athens, Greece
Registered: 2008-07-28
Posts: 705
Website

Re: mysql broke again :(

Default php.ini has all extensions commented out. You'll need to uncomment the ones you want (like mysql).

Offline

Board footer

Powered by FluxBB