[thelist] MySQL Login Setup not working with PHP

Tim Burgan burgan at iprimus.com.au
Wed Feb 12 07:42:01 CST 2003

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:

$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.


Tim Burgan

More information about the thelist mailing list