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:[EMAIL PROTECTED]]
> Sent: Miércoles, 12 de Febrero de 2003 07:32 a.m.
> To: [EMAIL PROTECTED]
> 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
> 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to