Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Aug 2006
    Posts
    29
    Plugin Contributions
    0

    Default MORE install problems


    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


  2. #2
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default 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. #3
    Join Date
    Aug 2006
    Posts
    29
    Plugin Contributions
    0

    Default Re: MORE install problems

    Quote Originally Posted by Kim View Post
    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. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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: v1.5.5]
    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!

  5. #5
    Join Date
    Aug 2006
    Posts
    29
    Plugin Contributions
    0

    Default 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

  6. #6
    Join Date
    Aug 2006
    Posts
    29
    Plugin Contributions
    0

    Default 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

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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: v1.5.5]
    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!

  8. #8
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default 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.

  9. #9
    Join Date
    Aug 2006
    Posts
    29
    Plugin Contributions
    0

    Default 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.

  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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: v1.5.5]
    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!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. More AustPost problems
    By saulylee in forum Addon Shipping Modules
    Replies: 3
    Last Post: 19 Sep 2007, 06:55 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR