Cannot open connection to mysql database with php script


#1

Hey, I’m just trying to test a newly created database through a php script I’m editing from the WebFTP interface.

I’ve entered all the correct information but continue to get a this message:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user ‘****’@‘maseru.dreamhost.com’ (using password: YES) in /home/kingplanto/adventureswithbeards.com/adventures_with_beards_one/databasetest.php on line 11
Unable to connect!

I’ve omitted the user name.

I am just trying to run the page from my browser on my computer, and I’m 99% positive there’s no typos and the information is correct.[hr]
Ha, well, almost immediately after posting this I finally stumbled across my solution:

http://discussion.dreamhost.com/archive/index.php/thread-119721.html

Working :slight_smile: