problem on Step 2 of install

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

problem on Step 2 of install

Post by albaby »

Well, I wanna try this Simle CMS so bad, I put it on another domain and tried to install it. I actually got to Step 2 now, but got this error.

You know, with cpanel so prevalent these days, it be nice to have the install.txt written for that.


Warning: mysql_connect(): Access denied for user: 'cmsuser@localhost' (Using password: YES) in /home/guevara/public_html/lib/adodb/drivers/adodb-mysql.inc.php on line 340
Connection failed
Al Guevara

Re: problem on Step 2 of install

Post by Al Guevara »

Just tried it again with better instructions, same Step  2 error


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
Michael K. Jensen

Re: problem on Step 2 of install

Post by Michael K. Jensen »

Hi all.

I got the same error, but in line 356.

Can someone help?

Kind regards
Michael K. Jensen
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: problem on Step 2 of install

Post by Ted »

Are you on cPanel as well?
Hans
Forum Members
Forum Members
Posts: 61
Joined: Sun Oct 09, 2005 10:49 am

Re: problem on Step 2 of install

Post by Hans »

Should this help?
http://www.cmsmadesimple.org/quick_install.shtml

CPanel often puts a prefix to the databasename and username you entered (e.g. hostname_yourdatabsename)
These are the ones you have to provide during install.
See this thread: http://forum.cmsmadesimple.org/index.ph ... l#msg10147

Here's a quick guide that I think will be added to the Documentation:

Adding a database in cpanel:

Log into cPanel and click on the "MySQL Databases" link.
On the next page you see a field where you can enter the database name.

In this field type the name (it can be anything)
Click "Add Db" and when you come to the next screen click "Go Back"

Now look for the fields: Username and Password, fill them in and click Add user.

Again, on the next page, click on "Go Back"

Now you should see two drop down boxes with a couple of checkboxes. Leave those checkboxes as is. In the dropdownboxes there are the databasename and the username.

Note: you may have a prefix before the database name and username!
In case you have one, this is the way to add the user to the database:

Your database name is "prefix_thedatabasenameyougave" and our username is "prefix_theusernameyougave"

On the left drop down menu select "prefix_theusernameyougave" and on the right select "prefix_thedatabasenameyougave"

Now just click the button named "Add User to Db" and that's it.

If you don't have a prefix, it's the same procedure, only without the prefix_ part.

Use the databasename, the username and the password when installing your copy of CMSMS
Last edited by Hans on Fri Oct 21, 2005 12:34 pm, edited 1 time in total.
Al Guevara

Re: problem on Step 2 of install

Post by Al Guevara »

Beautiful, it worked! Should be added to the Docs  -  cPanel is so prolific these days huh?
Hans
Forum Members
Forum Members
Posts: 61
Joined: Sun Oct 09, 2005 10:49 am

Re: problem on Step 2 of install

Post by Hans »

It IS already added to the docs in the meantime ;-)
http://www.cmsmadesimple.org/tips_and_tricks.shtml
Hans
Locked

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