RE: [PHP] MySQL Login Setup not working with PHP

From: Date: Wed, 12 Feb 2003 17:55:40 +0000
Subject: RE: [PHP] MySQL Login Setup not working with PHP
Groups: php.general 
Request: Send a blank email to php-general+get-135337@lists.php.net to get a copy of this message
Try user = 'root', password = ''. It's a security breach, so you would want to change it ASAP. Look for the SQL GRANT and REVOKE commands. -- Un gran saludo/Big regards... Arturo Barajas, IT/Systems PPG MX (SJDR) (427) 271-9918, x448 > -----Original Message----- > From: Tim Burgan [mailto:burgan@iprimus.com.au] > Sent: Miércoles, 12 de Febrero de 2003 07:32 a.m. > To: php-general@lists.php.net > Subject: [PHP] MySQL Login Setup not working with PHP > > > I've installed a bundle from ( www.fireworks.com.au ) that > includes PHP, > MySQL and Apache all pre-configured. > > All is working OK, except that I'm trying to access a table > in my database > using the following PHP code: > > <?php > $dbServer = "localhost"; > $dbName = "siteStats"; > $dbUser = "username"; > $dbPass = "password"; > ?> > > The problem is that I don't know what my USERNAME or PASSWORD > for MyDQL are. > How do I find this information out? > > I thought it was in the 'my.ini' file, but with this > installation there > doesn't seem to be one. > > Alternatively, does anyone know of a very simple tutorial > that explains > STEP-BY-STEP of how to install Apache, PHP and MySQL to run on a local > machine.. that even I can understand. > > Thanks > > Tim Burgan > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#135337) next »