Re: Re: [PHP] can't connect to mysql
| From: | Paul Juliano | Date: | Wed, 04 Apr 2001 07:32:39 +0000 |
| Subject: | Re: Re: [PHP] can't connect to mysql | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-46991@lists.php.net to get a copy of this message | ||
$link = mysql_connect ("localhost","root","mypassword")
or die ("Could not connect");
I'm pretty sure that the username/password is correct. I can connect
from the linux shell using mysql -u root -p
Dan Cleveland wrote:
>What does your mysql_connect statement look like?
>
>Dan
>
>+-------------------------------------------------------------------+
>| |
>| If Yoda so strong in force is, |
>| why words in proper order he cannot put? |
>| |
>+-------------------------------------------------------------------+
>| |
>+-------------------------------------------------------------------+
>| Daniel J. Cleveland |
>| e-mail: dclevela@cnavsystems.com |
>+-------------------------------------------------------------------+
>
>
>
>
__________________________________
www.edsamail.com