You are not logged in.

#1 2010-01-21 14:22:52

jianghui
Member
Registered: 2010-01-21
Posts: 3

[SOLVED] php can't connect mysql

hello everyone, i am trying to install WordPress and phpMyAdmin, but

Your PHP installation appears to be missing the MySQL extension which is required by WordPress.

cannot load MySQL extension, please check PHP Configuration

i googled and it says to modify php.ini, change   

 ;extension=mysql.so

to 

extension=mysql.so

i did, but it didn't work, any other suggestions?

thanks a lot.

Last edited by jianghui (2010-01-21 15:16:36)

Offline

#2 2010-01-21 14:57:43

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: [SOLVED] php can't connect mysql

Did you restart mysqld after the change?

/etc/rc.d/mysqld restart

Offline

#3 2010-01-21 15:17:43

jianghui
Member
Registered: 2010-01-21
Posts: 3

Re: [SOLVED] php can't connect mysql

http://rabaix.net/en/articles/2009/09/2 … tion-issue

it helped me

I changed mysql password, then everything works.

Offline

Board footer

Powered by FluxBB