Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Posts
    5
    Plugin Contributions
    0

    Default Lost database connection

    Really annoying problem and ive come to the end of my whitts with it

    I installed ZEN for a customer of mine ages ago, and his host has insisted he change his SQL database password as they were hacked recently

    Should have been simple enough, passwords changed, i can log into the database using MYSQL with no problem, and an old install of OSCOMMERCE works fine. For some reason the ZEN cart simply will not connect to the database! Even installed a new instance of zen and that will work!!! but not the old one.

    Ive updated the info in the

    includes/config.php &
    admin/includes/configer.php

    Both are correct, and the only thing thats changed is the password, but no joy.

    Is there something else odd about Zen that i have missed?

    Any help greatly appreciated at this point!

    Just incase ive missed something:

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', 'zen_');
    define('DB_SERVER', '************);
    define('DB_SERVER_USERNAME', '**********');
    define('DB_SERVER_PASSWORD', '*************);
    define('DB_DATABASE', '**************');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,701
    Plugin Contributions
    11

    Default Re: Lost database connection

    Does the database actually have a prefix of zen_?
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  3. #3
    Join Date
    Nov 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Lost database connection

    Quote Originally Posted by dbltoe View Post
    Does the database actually have a prefix of zen_?
    It does indeed... Its always been that, the only thing thats changed is the password for the database.

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,701
    Plugin Contributions
    11

    Default Re: Lost database connection

    assuming that you meant includes/configure.php and admin/includes/configure.php there is little else that is common to both the admin and catalog as far as database is the password, username, database prefix, and database name. Other than that, I can't think of anything that would make both the cart and the admin inaccessible. They are both not working, correct?
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  5. #5
    Join Date
    Nov 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Lost database connection

    Quote Originally Posted by dbltoe View Post
    assuming that you meant includes/configure.php and admin/includes/configure.php there is little else that is common to both the admin and catalog as far as database is the password, username, database prefix, and database name. Other than that, I can't think of anything that would make both the cart and the admin inaccessible. They are both not working, correct?
    Interesting question.... the admin side IS working....

    Least thats a start some more investigation required.....

  6. #6
    Join Date
    Nov 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Lost database connection

    I just cannot see any reason for it not working....

    Admin sections working and picking up data,

    Ive installed another zen cart - that picks up its tables (how ever it wont read the original zen data)

    Ive Restored a recent backup of the sql database, just incase it had corrupted, still nothing.

 

 

Similar Threads

  1. v154 Lost connection to database
    By Bob Higgins in forum General Questions
    Replies: 4
    Last Post: 25 Aug 2015, 05:56 AM
  2. Lost Admin connection to Database
    By motherwestwind in forum Upgrading to 1.5.x
    Replies: 1
    Last Post: 23 Jul 2014, 02:42 AM
  3. v151 Please help! I've lost my connection to my database
    By motherwestwind in forum Installing on a Linux/Unix Server
    Replies: 18
    Last Post: 4 Jul 2014, 11:15 AM
  4. Replies: 14
    Last Post: 22 Feb 2012, 09:27 AM

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