Databases Reference
In-Depth Information
We can also try other PHP scripts that make a connection to MySQL, to see if the
problem is more general than just phpMyAdmin not working. As a general rule, we
should be running the latest stable versions of every component.
Base Configuration
We should always double-check the way we made the installation, including proper
permissions and ownerships. Typos may occur when modifying config.inc.php .
Solving Common Errors
To help solve a problem, we should first pinpoint the origin of the error message.
Here are the various components that can generate an error message:
MySQL server: These messages are relayed by phpMyAdmin, which displays
MySQL said followed by the message.
PHP component of the web server: (for example, Parser error )
Web server: (The error can be seen from the browser, or in the web server's
log files.)
Web browser: (for example, JavaScript errors)
The Error Messages and Other Problems sections are mostly based on various
messages found on phpMyAdmin's help forum and and in the FAQ section of
Documentation.html .
Error Messages
This section refers to explicit error messages, as displayed by phpMyAdmin.
Cannot Load MySQL Extension
To connect to a MySQL server, PHP needs the MySQL extension , which is a set of
MySQL functions. This extension may compiled-in as part of the PHP server, or it
may need to be loaded dynamically, in which case phpMyAdmin may have tried to
load it and failed. This error implies that no other PHP script can make connections
to a MySQL server.
The required extension is contained in a file that can be named mysql.so on
Linux or UNIX, or mysql.dll on Windows. If our PHP server comes from a
software package, we can find and install another software package probably
called php-mysql . (The name is distribution dependent.) Otherwise, we can compile
 
Search WWH ::




Custom Search