note 51842 rejected from function.mysql-connect by betz
| From: | betz@php.net | Date: | Tue, 12 Apr 2005 22:12:07 +0000 |
| Subject: | note 51842 rejected from function.mysql-connect by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-87913@lists.php.net to get a copy of this message | ||
Note Submitter: mrfox-ilja at yandex dot ru
----
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