In my database.php file, I have
$db['default']['hostname'] = 'mylocaldomain:8889';
$db['default']['username'] = 'myusername';
$db['default']['password'] = 'mypassword';
$db['default']['database'] = 'mydb';
$db['default']['dbdriver'] = 'mysql';
I continually, get an error saying that it can’t connect. Any help?
Try changing:
To:
or:
I think you’re confusing your apache server’s host/port with MySQL’s host