Can you connect to MySQL manually?
If so, then you should be able to connect with PHP's
mysql_connect($username,$password,$host);
__________John Monfort_________________
_+-----------------------------------+_
P E P I E D E S I G N S
www.pepiedesigns.com
"The world is waiting, are you ready?"
-+___________________________________+-
On Thu, 17 May 2001, Andreas Pucko wrote:
> Hello,
>
> I am trying to get mysql running and connect via php to it.
>
> how can I set the password in a unixshell to get access to it?
>
> When I try to access the db I get:
>
>
> Warning: MySQL Connection Failed: Access denied for user: 'root@localhost'
> (Using password: NO) in /psr/mysqladmin/lib.inc.php on line 255
> Error
>
> Andy suggestions?
>
> Cheers
>
> Andy
>
>
> --
> PHP General 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]
>
>
--
PHP General 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]