#38903 [Opn->Bgs]: connect to the Myql server
| From: | bjori@php.net | Date: | Wed, 20 Sep 2006 16:37:54 +0000 |
| Subject: | #38903 [Opn->Bgs]: connect to the Myql server | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-102486@lists.php.net to get a copy of this message | ||
ID: 38903
Updated by: bjori@php.net
Reported By: cdenedelea at yahoo dot com
-Status: Open
+Status: Bogus
Bug Type: MySQL related
Operating System: windows xp sp2
PHP Version: 5.1.6
New Comment:
MySQL is no longer enabled by default.
See: www.php.net/mysql
Previous Comments:
------------------------------------------------------------------------
[2006-09-20 16:09:24] cdenedelea at yahoo dot com
Maybe the problem is for PHP? (If we analize the answer?)
------------------------------------------------------------------------
[2006-09-20 15:55:13] cdenedelea at yahoo dot com
Description:
------------
Connection to the MySql vs. 4.1.21 server from PHP language.
Reproduce code:
---------------
<?php
echo mysql_connect('localhost', 'username', 'password');
?>
Expected result:
----------------
Resource id #2
Actual result:
--------------
Fatal error: Call to undefined function mysql_connect() in
d:\Inetpub\wwwroot\phpcode\chptest\test.php on line 2
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38903&edit=1