installation & running mysql

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
User avatar
sutejok
Forum Commoner
Posts: 37
Joined: Wed Mar 24, 2004 4:08 pm

installation & running mysql

Post by sutejok »

Hi all

can anyone tell me the proscedure of installing and running mysql on windows?
I installed both php and apache and both seems runnin fine. I have also installed MySQL thru the windows installer. I am able to see php pages, but i still cant get mysql runnin. phpmyadmin says

cannot load MySQL extension,
please check PHP Configuration.

what shall i do after running the windows installer?

thxxxx!
User avatar
markl999
DevNet Resident
Posts: 1972
Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)

Post by markl999 »

You might just need to enable it in your php.ini.
Try editing c:\windows\php.ini and adding/uncommenting
extension = php_mysql.dll

Then restart apache.
User avatar
sutejok
Forum Commoner
Posts: 37
Joined: Wed Mar 24, 2004 4:08 pm

Post by sutejok »

where should the php_mysql.dll should be?
I uncommented that line and i got this error when i restart apache sayin

"PHP startup: Unable to load dynamic library './php_mysql.dll' - The specified module could not be found. "

thxx
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post by kettle_drum »

Make sure you have started mysql as well, open mysqladmin in the bin dir where you installed mysql.
User avatar
sutejok
Forum Commoner
Posts: 37
Joined: Wed Mar 24, 2004 4:08 pm

Post by sutejok »

I did, but still it says the same thing.

I also moved the libmysql.dll to windows directory and it doest work.
Post Reply