note 51842 added to function.mysql-connect
| From: | mrfox-ilja at yandex dot ru | Date: | Tue, 12 Apr 2005 21:24:48 +0000 |
| Subject: | note 51842 added to function.mysql-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-87911@lists.php.net to get a copy of this message | ||
I ve a problem. If can anyone help me please email me..
So the problem is.. im trying to connect to mysql db from php,
@ $db = mysql_pconnect('localhost', 'fred', '5558900');
if (!$db)
{
echo 'Error: Could not connect to database. Please try again later.';
exit;
and it always gives me this error.!
What to do, in order to connect to mysql db.. im using php 4.3
mysql 4.1
and apache 1.3
----
Manual Page -- http://www.php.net/manual/en/function.mysql-connect.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+51842
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51842&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51842&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51842&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51842&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51842&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+51842&report=yes
Search -- http://master.php.net/manage/user-notes.php