Re: MYSQL Password

From: Date: Fri, 18 May 2001 01:44:51 +0000
Subject: Re: MYSQL Password
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-53365@lists.php.net to get a copy of this message
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: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#53365) next »