Forums / Installing on a Linux/Unix Server / MORE install problems

MORE install problems

Locked

Views: 4,132

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
3 Nov 2006, 11:12 PM
#1
aaronb4146 avatar

aaronb4146

New Zenner

Join Date:
Aug 2006
Posts:
29
Plugin Contributions:
0

MORE install problems

:blink:
I want to do a new install of Zen Cart 1.3.6, here is what I am doing.

Download a new fresh copy of Zen Cart
Upload it to my site via ftp to a new folder called "shop2"
Run the Zen Cart Installer via web browser
Create a new database called "database" via cPanelx - MySQL
Create a new user "user" via cPanel x - MySQL
With password as "password" and issue full access Privileges
On PhpMyAdmin import by original backed up SQL Database in to new database (database)
Back on Zen Cart Installer I put in :

Database Type : MySQL
Store Identifier (Table Prefix) : NONE/BLANK
Database Host : localhost
Database Username : user
Database Password : password
Database Name : database
Datebase Sessions : [X]yes [ ]no
SQL Cache Method : [None]
Session/SQL Cache Directory : /home/STORE/public_html/shop2/cache

Why is this not working? It just keeps saying:

Connection to Database failed
Access denied for user 'user'@'localhost' (using password: YES)

What if anything am I doing wrong?

Cheers

Aaron

:blink:

3 Nov 2006, 11:15 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

Re: MORE install problems

Have you created the database and assigned the user to it?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

3 Nov 2006, 11:19 PM
#3
aaronb4146 avatar

aaronb4146

New Zenner

Join Date:
Aug 2006
Posts:
29
Plugin Contributions:
0

Re: MORE install problems

Kim:

Have you created the database and assigned the user to it?

I think so, this is what I have done

On cPanel x - MySQL Databases
New Database : [database] [ok]

New User
Username : [user]
password : [password]

Add Users To Database
user : [user] database : [database]
Privileges: all [x]

Are these the steps you mean?

4 Nov 2006, 12:55 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: MORE install problems

Just for giggles and grins ...

1 recheck database name

2 recheck username

3 reset password incase you are confused

4 edit both files:
/your_directory/includes/configure.php
/your_directory/admin/includes/configure.php

Change path, database, username and password

5 make sure when you are done uploading the files that you View the files on the server ... do they read what you think you just changed them to?

NOTE: if set to 444, you need to set to 644 before attempting to overwrite and need to set to 777 for UPGRADE ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

4 Nov 2006, 1:06 AM
#5
aaronb4146 avatar

aaronb4146

New Zenner

Join Date:
Aug 2006
Posts:
29
Plugin Contributions:
0

Re: MORE install problems

Ive tried creating different databases and users, ive done the configure.php files over and over again, yep files are being edited on the server and changes are appearing, and ive got 777 set do I need to change to 644?

cheers

Aaron

4 Nov 2006, 1:41 AM
#6
aaronb4146 avatar

aaronb4146

New Zenner

Join Date:
Aug 2006
Posts:
29
Plugin Contributions:
0

Re: MORE install problems

I have deleted all the databases and users (exept root) and the new store folder and am going to try again from the start, this will be my 4th time totaly starting again, I do not understand why I am having this trouble.

I have got in touch with my host and they refered me back here! No help at all there. If anyone can think of ANYTHING that might get me through this it would be greatly appreachated, no matter how stupid or small I NEED ANYTHING!!

Cheers for your help so far

aaron

4 Nov 2006, 1:41 AM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: MORE install problems

644 is for after you are done ...

777 is for when installing or upgrading ...

Are you able to access the database via your phpMyAdmin?

Did you add anything like special characters, spaces, hyphens, capital letters, too long of a database name or username or password to your database?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

4 Nov 2006, 1:45 AM
#8
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: MORE install problems

One thing that might be throwing you off is the way Cpanel sets up db Username & Passwords.

xxxxxxxx << this is the Username for your Hosting account.

xxxxxxxx_dbUsername
xxxxxxxx_dbName

Example
If your Hosting account Username is 'mydomain' and you created a db Name of 'zencart', then in your config files you would enter:
** define('DB_DATABASE', 'mydomain_zencart');**

Special note: when creating a Username for your database and the db Name, do not make either one more than 7 characters long.

The learning is in the doing.

Potent Products

4 Nov 2006, 1:46 AM
#9
aaronb4146 avatar

aaronb4146

New Zenner

Join Date:
Aug 2006
Posts:
29
Plugin Contributions:
0

Re: MORE install problems

oh rite, yes I am able to access my database through phpMyAdmin and cPanel, my database, username and password are all in lowercase "normal" characters, ive checked for unwanted spaces at the begining and end of all three.

4 Nov 2006, 2:04 AM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: MORE install problems

When in MySQL for cPanel ... look specifically at the database you just made and you should see the full database name and username ...

Read them both carefully incase something got truncated ...

And, as pointed out, be sure that you have used the "exact" name that you "see" and not the name you "think" you added as MySQL does "help" you in the naming of the database tables and usernames ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

4 Nov 2006, 2:28 AM
#11
aaronb4146 avatar

aaronb4146

New Zenner

Join Date:
Aug 2006
Posts:
29
Plugin Contributions:
0

Re: MORE install problems

ok cheers for the info I did have a 11 digit password at one stage, im waiting the the fresh store to upload and when it does ill try what you suggested,

cheers for all your help so far I just hope I get it this time! I take it this is not a common error then?

Cheers again

Aaron

4 Nov 2006, 3:02 AM
#12
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: MORE install problems

Bet you lose on the 11 digit password ... many servers limit the sizes and I think 11 might be too big ...

For giggles and grins try 6 ... you can change it later ...

Does the miracle occure? :unsure:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

4 Nov 2006, 2:55 PM
#13
aaronb4146 avatar

aaronb4146

New Zenner

Join Date:
Aug 2006
Posts:
29
Plugin Contributions:
0

Re: MORE install problems

all working now the password is shorter, thats some security feature init!

Cheers for all your help

Aaron

4 Nov 2006, 3:36 PM
#14
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: MORE install problems

Thanks for the update that the problem related to a limitation on the length of the password on your database based on your server settings ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

17 Dec 2006, 9:20 PM
#15
anduril3019 avatar

anduril3019

New Zenner

Join Date:
Dec 2006
Posts:
42
Plugin Contributions:
0

Re: MORE install problems

I am totally new here and having my own problems, but I had the same problem as you also. Are you actually typing in "localhost" for your database host? I first tried "localhost" then my domain name, but it finally worked when I entered my actual ip address.