PDA

View Full Version : Need help with MySQL and MovableType?


ajdub
11-14-2005, 08:16 AM
I don't know the first thing about MySQL but I am setting up a new MT blog and it has been highly recommended that I use it as opposed to Berkeley as I have done in the past.

I have set up a database (I think) correctly, but when I run the mt.cgi to initialize I keep getting the following error:

Got an error: Bad ObjectDriver config: Connection error: Access denied for user: 'ajdub@localhost' (Using password: YES)


In my mt-config.cgi file I have the following:

ObjectDriver DBI::mysql
Database mt
DBUser ajdub
DBPassword mypassword
DBHost localhost


I am assuming that I have done something wrong with the last line "DBHost" but I am not sure.

Any ideas?

Thanks!
Amanda

ed_lynn
11-14-2005, 09:27 AM
hey!

your user and data base names should be preceeded with the login name you use to log into your cpanel. for example if your login name for cpanel was 'amanda' then your config file would look like this:



ObjectDriver DBI::mysql
Database amanda_mt
DBUser amanda_ajdub
DBPassword mypassword
DBHost localhost



everything else you have is correct. Good luck and happy blogging!

-Eddie

Marble
11-14-2005, 12:37 PM
And for future reference never post your database information as it actually is in a forum of any kind.