Welcome Guest, Not a member yet? Register   Sign In
Dreamhost Database Error issue
#1

[eluser]freakish777[/eluser]
Hey All,

I'm new to PHP, CodeIgniter, and Dreamhost (professionally I'm an ASP.NET 3.5 developer, but have a friend I'm helping create a website who had already created a DreamHost account, and figured learning php is something I should get around to anyways). In any event, I've set up my database.php file with:

$db['default']['hostname'] = "localhost";
$db['default']['username'] = "myusername";
$db['default']['password'] = "mypassword";
$db['default']['database'] = "myDBname";
$db['default']['dbdriver'] = "mysql";

and I've set up the autoloader.php file with:

$autoload['libraries'] = array('database');

Lastly in the Dreamhost panel I've set up the myusername account with access from the following hosts:

%.dreamhost.com
%
%.%.%.%
%.mywebsite.com
myipaddress


But I still receive the:

"A Database Error Occurred

Unable to connect to your database server using the provided settings."

error message. Is there something I'm overlooking?


Messages In This Thread
Dreamhost Database Error issue - by El Forum - 10-22-2008, 06:10 PM
Dreamhost Database Error issue - by El Forum - 10-23-2008, 11:45 AM
Dreamhost Database Error issue - by El Forum - 10-23-2008, 02:53 PM
Dreamhost Database Error issue - by El Forum - 10-23-2008, 06:31 PM



Theme © iAndrew 2016 - Forum software by © MyBB