rbb213 Posted April 14, 2006 Share Posted April 14, 2006 (edited) Database error Unable to connect to database host localhost. Check the database data entered in the setup form. Can't continue! Link Up - Installation Set up these variables If you don't have a mysql database, ask your server admin to create one for you ****Mysql database host (try "localhost" if you are not sure) Your mysql database username name Mysql database password pass Name of your mysql database link Prefix of all tables Full path to the folder where the scripts reside. If this field already contains some value, this value should be correct, don't change it if you are not sure it is incorrect. No trailing slash. Example for Linux: /htdocs/sites/user/html/folder_name Example for Windows: C:/somefolder/domain.com/folder_name The part that im stuck is where I have the asterisks..the sql db i made up is called link...after that I drew a complete blank.... Any insite, I know the Admin can go in and take a look at the mess I created... TIA... Edited April 14, 2006 by rbb213 Quote Link to comment Share on other sites More sharing options...
TCH-RobertM Posted April 14, 2006 Share Posted April 14, 2006 Hello you need to set up the application to use the following. replace cpaneluserid with your cpanel user id and this should allow your application to work. servername = localhost username= cpaneluserid_name pass = pass database = cpaneluserid_link Quote Link to comment Share on other sites More sharing options...
TCH-Don Posted April 15, 2006 Share Posted April 15, 2006 My database check list -- databse connect ---- 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 Link to comment Share on other sites More sharing options...
rbb213 Posted April 15, 2006 Author Share Posted April 15, 2006 My database check list -- databse connect ---- 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. --------------------------- Thanks DON and Rob.....that was too easy...these instructions need to be pinned somewhere...lol Quote Link to comment Share on other sites More sharing options...
TCH-Don Posted April 15, 2006 Share Posted April 15, 2006 You are welcome Rocky Quote Link to comment Share on other sites More sharing options...
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.