Jump to content

Grrrr @ Sql Stuff...


rbb213

Recommended Posts

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 by rbb213
Link to comment
Share on other sites

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.

 

---------------------------

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...