Login to download the latest version of Mint and your favorite Pepper, purchase additional licenses, or post in the Forum. Don't have an account? Create one!

In Partnership with Media Temple

Mint Forum

Dreamhost Mint Setup

ksblues
Minted
Posted on Jun 30, '09 at 03:41 pm

Hi - I’ve loaded things in as follows:

'server'    => 'localhost',
'username'  => 'correct username',
'password'  => 'correct password',
'database'  => 'flmblogger_wp',
'tblPrefix' => 'mint_'

and still no go. Getting this message:

Mint was unable to connect to the database. Please make sure that the correct values have been added to /config/db.php.

* MySQL Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2). (2002)

Any ideas as to why this might be?

MarkR
Minted
Posted on Jun 30, '09 at 04:09 pm

I have Mint running on two sites at Dreamhost.

Your server should not be configured in db.php as ‘localhost’.

It should be your database’s hostname on Dreamhost – e.g. ‘mysql.XYZ.com’

ksblues
Minted
Posted on Jul 01, '09 at 02:03 am

MarkR - Thanks so much. Your suggestion fixed my problem!

You must be logged in to reply. Login above or create an account