Mysql 4.1+ and PHP 4.3.9 -> unable to connect to database
mikespub <[email protected]> Thu, 04 Nov 2004 19:35:04 +0100
| Newsgroups | gmane.comp.cms.xaraya.knowledge-base |
|---|---|
| Organization | Xaraya |
| Message-ID | <[email protected]> |
It seems that starting with version 4.1, MySQL uses some new password hashing for its user passwords, which is incompatible with the mysql client library included with PHP 4.3.9 (and earlier) - at least on Windows. So when you do a fresh installation of MySQL 4.1 and specify a root password for it, you won't be able to install Xaraya (or connect to a database in general from PHP) unless you apply one of the following measures : http://dev.mysql.com/doc/mysql/en/Old_client.html See also http://www.php.net/mysql_connect for related comments... Mike.