[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] OT: MySQL
- Subject: RE: [cobalt-users] OT: MySQL
- From: "Dave Reid" <daver1@xxxxxxxxxxxxxxx>
- Date: Fri Jun 22 01:15:02 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
-----Original Message-----
......snip.........
Warning: MySQL Connection Failed: Access denied for user:
'myuser@xxxxxxxxxxxxxxx' (Using password: YES) in
/home/sites/site2/web/test.php on line 27
Unable to connect to database
This is what I have in my HTML file:
$hostname = "http://www.mydomain.net";
$username = "myuser";
$password = "mypassword";
$dbName = "mydatabase";
.........snip............
---------reply-------------
Sounds similar to a problem I had some time ago when I first installed
MySQL. Make sure you have permissions in MySQL properly setup for that
user, AND that when you setup those permissions, you used the user account
that matches ownership of the MySQL executeable files. cheers
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Regards, Dave Reid (Night Rider)
Never engage in a battle of wits unarmed!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~