Results 1 to 10 of 13

Hybrid View

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

    Default Re: 0 Db_error_not_connected

    That's why the Doctor gets the big bucks!
    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.

  2. #2
    Join Date
    Jul 2005
    Posts
    31
    Plugin Contributions
    0

    Default Re: 0 Db_error_not_connected

    Thanks for the trouble shooting but I tried installing PHP Connector for MySQL and this did not solve the issue. I still ge the Db_errror_not_connected message.

    If you have any other ideas, it would be greatly appreciated.

    Thanks,
    czone

  3. #3
    Join Date
    Jul 2005
    Posts
    31
    Plugin Contributions
    0

    Default Re: 0 Db_error_not_connected

    Merlin,

    I'm in the process if trying to install a seperate instance of ZenCart on the same server, using a different DB, but so far I haven't had a successful install yet. I think its a Windows issue that has nothing to do with ZenCart. I'll let you know once I get past this issue.

    Thanks for the help.
    czone

  4. #4
    Join Date
    Mar 2006
    Location
    San Francisco, CA
    Posts
    45
    Plugin Contributions
    0

    Default Re: 0 Db_error_not_connected

    I'm experiencing the same problem with a Windows-based system when trying to upgrade to v1.3.0.2. I have two sites, my live site and my upgrade site, but cannot get the database to connect on the upgrade site. I dumped the original database and imported the dump file into the new database. The two configure.php files' paths have been edited to match my temporary /new_shop, and database, username and password have been changed to the new database I just made. The updated configure.php files have been FTPed to the server.

    Why am I still getting 0 Db_error_not_connected?

  5. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: 0 Db_error_not_connected

    Quote Originally Posted by Redradar
    Why am I still getting 0 Db_error_not_connected?
    You probably haven't granted rights to the username for your new database
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

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

    Default Re: 0 Db_error_not_connected

    You have not put some new or removed old database prefix listed in the configure.php have you?

    Do your permissions for the database match the username and password in the configure.php?
    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.

  7. #7
    Join Date
    Mar 2006
    Location
    San Francisco, CA
    Posts
    45
    Plugin Contributions
    0

    Default Re: 0 Db_error_not_connected

    That's it! I hadn't set the necessary permissions for the cache directory. Thank you so much for your help!

 

 

Similar Threads

  1. 0 db_error_not_connected
    By SPembleton in forum General Questions
    Replies: 1
    Last Post: 1 Sep 2011, 11:23 PM

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