> Warning: Access denied for user: '[EMAIL PROTECTED]' (Using
> password:
> NO) in /usr/local/apache/htdocs/pruebamysql.php on line 5
>
> Warning: MySQL Connection Failed: Access denied for user:
> '[EMAIL PROTECTED]' (Using password: NO) in
> /usr/local/apache/htdocs/pruebamysql.php on line 5
> 1045: Access denied for user: '[EMAIL PROTECTED]' (Using
> password: NO)
>
>
> And here it is the php.. wher it says localhost, I should only
> type the remote
> IP address?
>
> <HTML><HEAD><TITLE>Form Results </TITLE>
> <BODY>
>
> <?php
> $connection = mysql_connect('localhost,'root');
> if ($connection == false){
>   echo mysql_errno().": ".mysql_error()."<BR>";
>   exit;
> }

you need to supply the host address (name or ip), your username and
password.

look here for more

www.php.net/mysql_connect

M:


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to