tmwright Posted October 7, 2004 Posted October 7, 2004 I followed the installation instructions posted at http://www.totalchoicehosting.com/help/id76.htm and I'm getting the following error when running the mt-load.cgi: "Bad ObjectDriver config: Your DataSource directory ('./db') does not exist." I setup a mySQL database and username according to the instructions and it seems that everything is correct there. I do not, however, see a /db directory anywhere. As per the instructions, I left the following line alone in the mt.cfg file: "DataSource ./db" Should this actually say something else? Any help will be greatly appreciated. Quote
LisaJill Posted October 7, 2004 Posted October 7, 2004 Did you add the three lines that tell it to use a mysql database? ObjectDriver DBI::mysql Database hostingAccountUserName_nameOfDatabase DBUser hostingAccountUserName_nameOfDatabaseUser ? Make sure there is no # before those lines. Quote
tmwright Posted October 7, 2004 Author Posted October 7, 2004 Did you add the three lines that tell it to use a mysql database? ObjectDriver DBI::mysql Database hostingAccountUserName_nameOfDatabase DBUser hostingAccountUserName_nameOfDatabaseUser ? Make sure there is no # before those lines. Okay... That was pretty dorky. I had failed to uncomment the lines you mentioned. Things went just fine after making the correction. Thanks. Quote
TCH-Rob Posted October 7, 2004 Posted October 7, 2004 Glad you got it worked out. Welcome to the forums and welcome home. Thumbs Up Quote
TCH-Don Posted October 7, 2004 Posted October 7, 2004 Welcome to the Family tmwright and your new home! Don't be a stranger We really are like family here. So if you need anything, just ask your new family! We love to help Quote
mikbry24 Posted January 17, 2006 Posted January 17, 2006 Welcome to the Family tmwright and your new home! Don't be a stranger We really are like family here. So if you need anything, just ask your new family! We love to help Another question about movable type: To initialize it tells me to run mt-load.cgi and then delete it. There is no mt-load.cgi present. However, in researching it appears that they somehow incorporated this into the mt.cgi file somehow, but I'm not sure how to continue with the installation (fyi I'm brand new to movable type as if that wasn't already painfully obvious). Quote
TCH-Andy Posted January 17, 2006 Posted January 17, 2006 Welcome to the forums From the MT site Note to previous users: Prior to Movable Type 3.2 users had to run a script named mt-load.cgi right after installing the system in order to create the necessary data tables and populate them with a sample weblog and an initial user. This step is no longer necessary. I assume you have uploaded it, changed the permissions on the directories, so the next step is www.example.com/cgi-bin/mt/mt.cgi where example.com is your domain name (and this assumes you have installed in the default directory. Quote
LindaSoG Posted March 24, 2006 Posted March 24, 2006 (edited) Please, if someone could help me. I am not reaching the database, it appears that for some reason it is not holding all of the letters in the username. I get this error message: Got an error: Bad ObjectDriver config: Connection error: Access denied for user 'database-*******'@'localhost' (using password: YES) Where I have put the stars is the user name. The user name for the database has 7 letters instead of 6, it is correct in the mt-config file but its still giving me the error above. The error only shows 6 letters instead of 7 in the user name Edited March 24, 2006 by LindaSoG Quote
TCH-Thomas Posted March 24, 2006 Posted March 24, 2006 Welcome to the forum, Linda. According to this page it looks like it may be a permission problem. Quote
LindaSoG Posted March 24, 2006 Posted March 24, 2006 (edited) Welcome to the forum, Linda. According to this page it looks like it may be a permission problem. Thanks for the welcome. That's not the problem. All the .cgi permissions are set at 755. This is not the first time I am installing movable, I've installed three blogs on another server without a problem. I am in the process of moving all three here and this is the first one. The last I heard from the help desk was to unistall and reinstall the database and movable because the database was corrupt. I have installed, uninstalled, reinstalled and unstalled all over again and my frustration level is reaching its peak. I have been working on this since 6am and getting nowhere. Any help you can give me will be greatly appreciated. Just to be clear, in case I am not: the username given to me by TCH has eight letters. The name of the database has eight letters. The error I am getting seems to indicate that the database it is looking for only has 6 letters. The user name is correct with all eight letters in the mt-config file. this is error exactly, with only the letters changed to numbers: Got an error: Bad ObjectDriver config: Connection error: Access denied for user 'database-1234567'@'localhost' (using password: YES) Edited March 24, 2006 by LindaSoG Quote
TCH-Rob Posted March 24, 2006 Posted March 24, 2006 In your mt-comfig does it reflect; cPanel-name_username cPanel-name_database-name and password, no "cPanel-name_" in front Note the "_" Quote
TCH-Rob Posted March 24, 2006 Posted March 24, 2006 Better instructions for you to double check from my good friend Don. Be sure that in MySql you 1 - created the database 2 - created a user 3 -added the user to the database (go back to MySql and find the Add user select the user and database, and then Add user to database) Then to connect to the database in a script use: host: localhost database: yourCpanelName_databaseName user: yourCpanelName_databaseUser password: mypassword * Note password is just as the password, do not add the CpanelName to it. Quote
LindaSoG Posted March 24, 2006 Posted March 24, 2006 In your mt-comfig does it reflect; cPanel-name_username cPanel-name_database-name and password, no "cPanel-name_" in front Note the "_" This is the code exactly, except I changed the user name and password to 12345678 and 123456 respectively: ObjectDriver DBI::mysql Database database-12345678_move DBUser database-12345678_ls DBPassword database-123456 DBHost localhost Quote
TCH-Andy Posted March 24, 2006 Posted March 24, 2006 Welcome to the forums Is the "database-" on the front of what you've just written here? Or also on the one in your config? That shouldn't be there in your config. Quote
LindaSoG Posted March 24, 2006 Posted March 24, 2006 (edited) Welcome to the forums Is the "database-" on the front of what you've just written here? Or also on the one in your config? That shouldn't be there in your config. without it, like this: ObjectDriver DBI::mysql Database 12345678_move DBUser 12345678_ls DBPassword 123456 DBHost localhost I get a completely blank page when I try to load the mt.cgi file Edited March 24, 2006 by LindaSoG Quote
TCH-Andy Posted March 24, 2006 Posted March 24, 2006 As Rob said; Be sure that in MySql you 1 - created the database 2 - created a user 3 -added the user to the database (go back to MySql and find the Add user select the user and database, and then Add user to database) I don't think you have been into your cpanel and created the database yet, and then added the user. Quote
LindaSoG Posted March 24, 2006 Posted March 24, 2006 As Rob said;I don't think you have been into your cpanel and created the database yet, and then added the user. Indeed I did. This is a cut and paste from the database page: MySQL Account Maintenance Databases: 12345678_move Users in move 12345678_ls (Privileges: ALL PRIVILEGES) Quote
TCH-Andy Posted March 24, 2006 Posted March 24, 2006 I must be looking at the wrong site then - please PM me you domain name, and I'll take a look. Quote
LindaSoG Posted March 24, 2006 Posted March 24, 2006 The help desk managed to fix it, although I don't see what he changed, I am just happy to have it working. Thanks for all your kind help. Quote
TCH-Rob Posted March 24, 2006 Posted March 24, 2006 I am happy to hear it is working now. Welcome to the forums by the way. Quote
TCH-Bruce Posted March 24, 2006 Posted March 24, 2006 Welcome to the forums Linda Glad you got it working. Quote
TCH-Don Posted March 24, 2006 Posted March 24, 2006 Welcome to the forums Linda if you reopen your ticket you can ask what they did so you will know for the other installs. 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.