Click to See Complete Forum and Search --> : PHP 4.2.0 breaks mySQL database access


warrickw
06-26-2002, 04:11 PM
We've got two machine running BSD/OS, the same version of Apache, mySQL, and up to a couple of days ago, PHP 4.1.1.

Upgraded one machine to PHP 4.2.0, and now anything using mysql_connect() refuses to connect. This includes the stuff we've written, but also phpMyAdmin.

We can get to mysql directly on the command line. But there's no joy in connecting with the PHP interface.

Is this a known issue, or could it be something that's wrong in php.ini, or ???? This is kind of a showstopper, since we wanted to move to the newer PHP so that we had some fixes for reported security problems.

Thanks.

warrickw
06-26-2002, 04:23 PM
Hah! If you search enough, you can find ANYTHING on the Internet, including the answer to your own question!

From the 4.2.1 (note, not 0) Release Notes:

- Fix for the MySQL extension not be able to connect to a MySQL server.

Hey, that's me!! So off to get thte new version....