[solved] connecting to database

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
Tracy
Forum Members
Forum Members
Posts: 134
Joined: Sat Oct 20, 2007 4:52 pm

[solved] connecting to database

Post by Tracy »

I continually have problems connecting to the database after installing and am not sure why. I have just installed the latest. Set up my new database with user and password, write it down to ensure no mistakes and have only encountered 1 host that I need to use something other than localhost. I guess my question is, do I need to put in a prefix infront of either the database name, username or password? For example the account is civeh and my username is tracy. So do I type in civeh_cms and civeh_tracy etc? I have done it all ways with no luck and even created a brandnew database to start over with no luck. Thankyou in advance for any help in this matter.
scelle
Forum Members
Forum Members
Posts: 81
Joined: Sun Apr 24, 2011 8:14 pm

Re: connecting to database

Post by scelle »

If you can access your hosting account's control panel (I guess it is cPanel), go to MySQL Databases and check what Databases and Users you have created. Also, make sure you check your MySQL server address and database port. This can be done via phpMyAdmin.

It usually is "localhost" with the port number 3306, but not always.

By the way, you haven't said what error message is CMSMS reporting and in what step of installation/exploitation?
Tracy
Forum Members
Forum Members
Posts: 134
Joined: Sat Oct 20, 2007 4:52 pm

Re: connecting to database

Post by Tracy »

thankyou for your reply. It is version 1.10.3. I have gotten to step 5 and the error message just says Could not connect to the database. Verify that username and password are correct, and that the user has access to the given database
Tracy
Forum Members
Forum Members
Posts: 134
Joined: Sat Oct 20, 2007 4:52 pm

[solved]Re: connecting to database

Post by Tracy »

got it, I looked back at my notes, the username and the database need to be preceided by the account name _. So civeh_tracy etc.
Locked

Return to “[locked] Installation, Setup and Upgrade”