#36193 [NEW]: Can't connect to MySQL
From: anishxt at gmail dot com
Operating system: Windows XP SP2
PHP version: 5.1.2
PHP Bug Type: MySQL related
Bug description: Can't connect to MySQL
Description:
------------
I was using the PHP 4.3.4 with MySQL 5.0.15. There was no problem with PHP
when connecting to the MySQL using
mysql_connect(($dbhost, $dbusername, $dbuserpass);
But, after installed the PHP 5.1.2, I can't connect to MySQL using the
same command:
mysql_connect(($dbhost, $dbusername, $dbuserpass);
which would prompt an error:
"Call to undefined function mysql_connect()"
Reproduce code:
---------------
mysql_connect(($dbhost, $dbusername, $dbuserpass);
Expected result:
----------------
Successful connection to MySQL 5.0.15
Actual result:
--------------
Call to undefined function mysql_connect()in line 12
--
Edit bug report at http://bugs.php.net/?id=36193&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36193&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36193&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36193&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=36193&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=36193&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=36193&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=36193&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=36193&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=36193&r=support
Expected behavior: http://bugs.php.net/fix.php?id=36193&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=36193&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=36193&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=36193&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36193&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=36193&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=36193&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=36193&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=36193&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=36193&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=36193&r=mysqlcfg
Thread (3 messages)
- anishxt at gmail dot com