MySQL Login Setup not working with PHP
| From: | Tim Burgan | Date: | Wed, 12 Feb 2003 13:31:50 +0000 |
| Subject: | MySQL Login Setup not working with PHP | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-135306@lists.php.net to get a copy of this message | ||
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