Thanks for the link, but I had already tried that fix. No joy.
I am trying to connect from within DreamHost (DH web server connecting to DH database). The web pages are on harpo.dreamhost.com and the database is on tammany.dreamhost.com.
The error message indicates:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user ‘username’@‘harpo.dreamhost.com’ (using password: YES) in /home/.quadrangle/username/website.org/top.inc on line 9
Could not connect: Access denied for user ‘username’@‘harpo.dreamhost.com’.
That’s wierd because I am using a valid username on harpo.
I wonder if the problem is because the domain “website.org” is currently hosted and registered elsewhere. I do have that same domain created on harpo in anticipation of the domain transfer. But I wonder if the request is being directed to the current site (outside DH) instead of the new site that is under construction on DH. Doesn’t make sense because I am simply trying to launch the index.php file via the unique IP associated with the new site on DH.
Do I need to copy all files to the temp domain of “website.dreamhosters.com” for testing purposes?
Any ideas for a fix or work-around?