introduction screenshots faq forum blog modules components download
Please use the search function and/or read the FAQ first.

Go to Topic: PreviousNext
Go to: Message ListNew TopicSearchLog InPrint View

phpMyAdmin - Error



Posted by: gOber
February 12, 2008 11:11AM
Hello,

I got error on 1st installing easyphp when want open phpmyadmin..

[Cannot load mysql extension. Please check your PHP configuration. - Documentation]

I already open documentation (To connect to a MySQL server, PHP needs a set of MySQL functions called "MySQL extension". This extension may be part of the PHP distribution (compiled-in), otherwise it needs to be loaded dynamically. Its name is probably mysql.so or php_mysql.dll. phpMyAdmin tried to load the extension but failed.

Usually, the problem is solved by installing a software package called "PHP-MySQL" or something similar.)

But what must i do?

Hope somebody can help me.

Thanks you
gOber
Options: ReplyQuote
Posted by: gOber
February 12, 2008 03:15PM
Anyone help me please..

Thanks
Options: ReplyQuote
Posted by: mega-squall
February 12, 2008 07:09PM
In your message you're quoting Unix/Linux part of the documentation.
Better refer to the Windows part which specifies that you must add libmysql.dll in your path.
I suggest doing so by adding the mysql/bin/ directory to your user PATH variable.

More information : [php.net]

---
mega-squall
Options: ReplyQuote
Posted by: gOber
February 12, 2008 07:29PM
Hi Mega,

Thanks for ur reply... i still didnt understand =( im newbee

after i open(http://id2.php.net/manual/en/faq.installation.php#faq.installation.addtopath) my path (%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\QuickTime\QTSystem\) what must i do Sir? i must delete preview my path?

Can u help me step by step?

thanks u so much
gOber
Options: ReplyQuote
Posted by: mega-squall
February 15, 2008 10:16PM
The correct procedure is to append your user PATH variable with mysql binaries path.
Say for instance you have installed EasyPHP in C:\EasyPHP\, mysql binaries reside in C:\EasyPHP\mysql\bin
Thus you have to append your path with this, and separate this new directory with a semicolon ( ; ) from previous ones.
This will result in the following PATH (or something near that) :

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\EasyPHP\mysql\bin\

To ensure this operation was successful you can then :
Launch a CMD (command line interface)
CD to any place which is _NOT_ the directory you just added to the PATH and which doesn't contain any mysql executable
Try to execute 'mysql' (like you may do with CD or REN)

The test will fail if CMD replies that 'mysql' is not a known command.
Any other output (even mysql errors) will mean the previous operation is successful.
Then your PHP mysql extension should be working correctly.

---
mega-squall



Edited 2 time(s). Last edit at 02/15/2008 10:17PM by mega-squall.
Options: ReplyQuote


Go to: Message ListSearchLog In
Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.