Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.
Moderator: General Moderators
sutejok
Forum Commoner
Posts: 37 Joined: Wed Mar 24, 2004 4:08 pm
Post
by sutejok » Sat May 22, 2004 7:12 am
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!
markl999
DevNet Resident
Posts: 1972 Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)
Post
by markl999 » Sat May 22, 2004 7:19 am
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.
sutejok
Forum Commoner
Posts: 37 Joined: Wed Mar 24, 2004 4:08 pm
Post
by sutejok » Sat May 22, 2004 10:49 am
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 » Sat May 22, 2004 11:02 am
Make sure you have started mysql as well, open mysqladmin in the bin dir where you installed mysql.
sutejok
Forum Commoner
Posts: 37 Joined: Wed Mar 24, 2004 4:08 pm
Post
by sutejok » Sat May 22, 2004 11:17 am
I did, but still it says the same thing.
I also moved the libmysql.dll to windows directory and it doest work.