Mombu the Php Forum sponsored links

Go Back   Mombu the Php Forum > Php > #36193 : Can't connect to MySQL
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 7th August 05:46
helly
External User
 
Posts: 1
Default #36193 : Can't connect to MySQL



ID: 36193
Updated by: helly@php.net
Reported By: anishxt at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: MySQL related
-Operating System: Windows XP SP2
+Operating System: *
PHP Version: 5.1.2
New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the do***entation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

How about installing ext/mysql or using ext/mysqli?
And RTFM


Previous Comments:
------------------------------------------------------------------------

[2006-01-28 21:02:05] anishxt at gmail dot com

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 this bug report at http://bugs.php.net/?id=36193&edit=1
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666