Prev | Current Page 258 | Next

Marc Delisle

"Mastering phpMyAdmin 2.11 for Effective MySQL Management"

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.
??? ??? ??? ???
Chapter 20
[ 299 ]
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
our own PHP server with the appropriate extension, as explained in the PHP
documentation. At least one well-known Linux distribution (RedHat 8.0) fails to offer
this extension as part of the web server/PHP server installation dialog, although the
package is present on installation disk 3.
The mysqli extension is designed to work with MySQL 4.1.3 and later versions, and
can be distributed in the form of a package named php-mysqli.
MySQL Said: Can't Connect to Local MySQL Server
This message indicates that the MySQL server is not running, or cannot be reached
from the web server. It can also be a socket (Linux/UNIX) or a named pipe
(Windows) configuration problem.
Socket Problem (Linux/UNIX)
The socket configured in php.ini (an example of which is given below) does not
correspond to the socket of the running MySQL server:
mysql.


Pages:
246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270