kevp Posted October 5, 2004 Posted October 5, 2004 So I've got as far as the mt-load.cgi and I'm getting this.... Bad ObjectDriver config: Connection error: Access denied for user: 'kevpnet@localhost' (Using password: YES) I tried searching the forums but couldn't find what I needed. Any help is appreciated! I just moved from readyhosting to TCH yesterday! Quote
TCH-Don Posted October 5, 2004 Posted October 5, 2004 (edited) Welcome to the Family kevp and your new home! Hang in there, we have lots of MT users here and I am sure they will be on soon and help out. We really are like family here. So if you need anything, just ask your new family! We love to help Edited October 5, 2004 by TCH-Don Quote
kevp Posted October 5, 2004 Author Posted October 5, 2004 Welcome to the Family kevp and your new home! Hang in there, we have lots of MT users here and I am sure they will be on soon and help out. We really are like family here. So if you need anything, just ask your new family! We love to help Thx, glad to be aboard! Quote
borfast Posted October 5, 2004 Posted October 5, 2004 Welcome to the family, kevp. Thumbs Up As for the problem with MT, that seems to be a problem with the database username/password. Have you created a database for MT in cPanel? Do you have a a dedicated DB user for accessing the MT database or are you using the cpanel username (which has access to all databases on your account)? If you have a dedicated DB user, the problem may be that you're forgetting to add "yourcpanelusername_" before the username you created. Also, in case you have a dedicated user, make sure you added that user to the MT database. Quote
kevp Posted October 5, 2004 Author Posted October 5, 2004 Welcome to the family, kevp. Thumbs Up As for the problem with MT, that seems to be a problem with the database username/password. Have you created a database for MT in cPanel? Do you have a a dedicated DB user for accessing the MT database or are you using the cpanel username (which has access to all databases on your account)? If you have a dedicated DB user, the problem may be that you're forgetting to add "yourcpanelusername_" before the username you created. Also, in case you have a dedicated user, make sure you added that user to the MT database. I did create a database, my first shot at this BTW. And was a bit confused when naming. But as you describe it's normal for the name to have 2 parts to it? kevpnet_"kevp" and the database name says kevpnet_"mtdatabase". And I put the password I created into the mt-db-pass.cgi as I entered it in creating the db in cPanel. All files are set to 755 and the lines I added to the mt.cfg using your tips are exactly like this: ObjectDriver DBI::mysql Database kevpnet_mtdatabase DBUser kevpnet_kevp Hoever now I get a different error that says this: Access denied for user: 'kevpnet_kevp@localhost' to database 'kevpnet_mtdatabase' at mt-load.cgi line 175. Thanks for the response Raul! Quote
TCH-Don Posted October 5, 2004 Posted October 5, 2004 Just double checking, DBUser kevpnet_kevp did you add that user to the mtdatabase database in mysql ? If you look at the database in mysql, you should see sample connection strings for the database, with the user. Quote
kevp Posted October 5, 2004 Author Posted October 5, 2004 Just double checking, DBUser kevpnet_kevp did you add that user to the mtdatabase database in mysql ? If you look at the database in mysql, you should see sample connection strings for the database, with the user. Under the MySQL Account Maintenance page I have one database and the only listed "users" are "kevpnet_kevp". Is that correct? Thanks! Quote
LisaJill Posted October 5, 2004 Posted October 5, 2004 You need to make sure that that user has access to the database. Just creating them isn't enough. The way to do that is choose the user in the drop down and the database in the other drop down and click "Add User". Proof this is correct will be a bunch of MYSQL connection/init strings listed there. =) Quote
TCH-Don Posted October 5, 2004 Posted October 5, 2004 (edited) Yes that sholud be right. In MySql you should see something like this Databases: cpanelname_databasename Users in database cpanelname_databaseuser (Privileges: ALL PRIVILEGES) Edited October 5, 2004 by TCH-Don Quote
kevp Posted October 5, 2004 Author Posted October 5, 2004 Yes that sholud be right.In MySql you should see something like this Databases: cpanelname_databasename Users in database cpanelname_databaseuser (Privileges: ALL PRIVILEGES) Yep, that's exactly what I see. And under Hosts, it says localhost. Quote
kevp Posted October 5, 2004 Author Posted October 5, 2004 You need to make sure that that user has access to the database. Just creating them isn't enough. The way to do that is choose the user in the drop down and the database in the other drop down and click "Add User". Proof this is correct will be a bunch of MYSQL connection/init strings listed there. =) YOU ROCK LISA! Cured..... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.