Re: Which PHP for MySQL 4.1
| From: | Chris | Date: | Thu, 11 Nov 2004 21:42:37 +0000 |
| Subject: | Re: Which PHP for MySQL 4.1 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201803@lists.php.net to get a copy of this message | ||
The MySQL library for 4.1.x is mysqli_* ( http://www.php.net/mysqli ) , that's only works with PHP 5 as far as I know. The old MySQL library ( http://www.php.net/mysql ) Can be used with PHP 4 (any version), but it won't be able to connect to MySQL with a user using the new password system introduced in MySQL 4.1.3 . You can set a password for a MySQL user using the OLDPASSWORD() function, which would allow you to connect with the old library in PHP 4.
Chris
C.F. Scheidecker Antunes wrote:
Hello, I would like to migrate my MySQL servers from 4.0 to 4.1. As I use PHP as well as Java with these servers I wonder what PHP 4 version would be compatible with MySQL 4.1. Has anyone used MySQL 4.1 with PHP yet? I appreciate your thoughts. Thanks.