Can someone explain the database creation via cpanel

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
albaby

Can someone explain the database creation via cpanel

Post by albaby »

The instructs in the install.txt are confusing, cpanel wants a database name, a user and pass. The install.txt (below) doesnt even mention a password?

3.  Create the cms database and grant a user rights to use it:
        - login to mysql: mysql -u root -p
            create database cms;
            grant all privileges on cms.* to cms_user@localhost identified by 'cms_pass';
            quit
Hans
Forum Members
Forum Members
Posts: 61
Joined: Sun Oct 09, 2005 10:49 am

Re: Can someone explain the database creation via cpanel

Post by Hans »

I think this could be of help:
http://www.cmsmadesimple.org/quick_install.shtml
Hans
Al Guevara

Re: Can someone explain the database creation via cpanel

Post by Al Guevara »

Those were certianly better and clear instructions, thanks, but it still failed on Step 2


Warning: mysql_connect(): Access denied for user: 'cms_user@localhost' (Using password: YES) in /home/guevara/public_html/lib/adodb/drivers/adodb-mysql.inc.php on line 340
Connection failed
Hans
Forum Members
Forum Members
Posts: 61
Joined: Sun Oct 09, 2005 10:49 am

Re: Can someone explain the database creation via cpanel

Post by Hans »

Are you sure you entered the databasename and the user correct? Sometimes cpanel adds a prefix before the names you entered (e.g. nameofsite_)
And : did you add the user to the database in question?
Hans
Last edited by Hans on Mon Oct 17, 2005 8:05 am, edited 1 time in total.
Al Guevara

Re: Can someone explain the database creation via cpanel

Post by Al Guevara »

Yes it seems Cpanel adds a PREFIX similar to the HOST username, to the database username, so thats my ACTUAL username? So its prefixa_cms_user, not cms_user?
Hans
Forum Members
Forum Members
Posts: 61
Joined: Sun Oct 09, 2005 10:49 am

Re: Can someone explain the database creation via cpanel

Post by Hans »

Yes use the frefix in both the databasename and the user name.
Hans
albaby

Re: Can someone explain the database creation via cpanel

Post by albaby »

It worked! Awesome, thanks much Hans!
Locked

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