Hi:

I have recently upgraded from a Mac G4 running OS 10.3.9 to a G5 running OS 10.4. I ported a working PHP app and upgraded from PHP 4.3.4 to 4.3.10 and MySQL 4.0.17 to 4.1.11. I am having a problem connecting to MySQL from PHP.

I can connect to the database using either phpMyADMIN or directly from terminal mode using MySQL commands. However, when I try to enter the database from php, using

        $result = mysql_pconnect("localhost", "api_user", "97533");

I get $result = FALSE. This command works on the old system as does the MySQL command:

         mysql -u api_user -p

I am using the identical php.ini on the new and old machines. Any help in getting over this hurdle would be appreciated.

Jim
--
Jim Feldman
14 Linda Lane
Newton, MA 02461

617-527-0509

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to