Page 1 of 2 12 LastLast
Results 1 to 10 of 26

Hybrid View

  1. #1
    Join Date
    Sep 2007
    Location
    Australia, Sydney
    Posts
    23
    Plugin Contributions
    0

    Default Data Base Issues - not connected - during install

    i've spoken to my host, they said that Zen Cart uses MYSQL 4 database only
    so they created one for me,

    i still keep getting this message.

    0 Install Error: Could not connect to the Database
    in:
    [DROP TABLE IF EXISTS upgrade_exceptions;]

    has any one seen this before! please help!
    HBTech "excellence in technology services"

  2. #2
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Data Base Issues aswell as other ppl here

    You might provide the wrong information for ZC to connect to database, this does not have anything to do with the version of mysql. Make sure you have the correct link to your database (which is "localhost" most of the time), the correct username and password. And you also have to create a database for zencart.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  3. #3
    Join Date
    Sep 2007
    Location
    Australia, Sydney
    Posts
    23
    Plugin Contributions
    0

    Default Re: Data Base Issues aswell as other ppl here

    thanks for you prompt reply yellow1912, i still get the same issues
    still can't connect to database server.

    i provide same information, i currently running phpBB forums on this domain

    i'm just adding ZC to my site, but also created another database to connect to.
    even i tried it with my existing database, still not connecting.

    dont know what the issue is, i followed the install instruction mod 777 files to those need as per instructed.
    HBTech "excellence in technology services"

  4. #4
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Data Base Issues aswell as other ppl here

    First: Im on php5 with mysql5 and my site is working great. Your host's saying that ZC does not work with mysql5 is lame.
    Second: you said they created a mysql4 database only for you, does that mean you now have 2 databases (1 using mysql4 and and one using mysql5 for phpbb)
    Is ZC on the same server with your phpbb forum?
    If you provide your phpbb database info instead, can ZC connects to your db?
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  5. #5
    Join Date
    Sep 2007
    Location
    Australia, Sydney
    Posts
    23
    Plugin Contributions
    0

    Default Re: Data Base Issues aswell as other ppl here

    Quote Originally Posted by yellow1912 View Post
    First: Im on php5 with mysql5 and my site is working great. Your host's saying that ZC does not work with mysql5 is lame.
    Second: you said they created a mysql4 database only for you, does that mean you now have 2 databases (1 using mysql4 and and one using mysql5 for phpbb)
    Is ZC on the same server with your phpbb forum?
    If you provide your phpbb database info instead, can ZC connects to your db?

    Yes you are correct yellow1912, my phpbb3, is using mysql5 db working great with php5, only thing i have tried to use the same database info for ZC still can't connect. I was just wondering, can both be run on the same server? but as u mentioned your's is working great?! i feel sad , host did created another database, yes i have 2 database now, one is phpbb3 mysql5, other is mysql4 nothing in it, it's new!
    HBTech "excellence in technology services"

  6. #6
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Data Base Issues aswell as other ppl here

    Ok, if you are 100% sure you entered everything correctly, here is one thing you can check:
    Basically, for security reason, mysql server only accepts connection from a trusted list of servers. If you database is on the same server with your http server, you would use 'localhost' as the link to your database. In some cases, mysql is located on a different host, and you need to contact your host, tell them that you cant connect to the database server from your site, they will add your web host's ip to the trusted list.

    Regards.

    PS I think 1and1 uses this kind of remote mysql database.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  7. #7
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Data Base Issues aswell as other ppl here

    Quote Originally Posted by hbtechguy View Post
    0 Install Error: Could not connect to the Database
    in:
    [DROP TABLE IF EXISTS upgrade_exceptions;]
    Are you always getting the *same* error message ?
    .

    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.

  8. #8
    Join Date
    Nov 2006
    Location
    Papworth, Cambridgeshire, UK
    Posts
    731
    Plugin Contributions
    3

    Default Re: Data Base Issues aswell as other ppl here

    When you connect using phpMyAdmin, is that as the same user and password as used in the ZC install you are attempting?
    Likewise the PHPBB install.
    If not, try that on the install.

    What I'm trying to get clear in my mind is what is causing this pretty fundamental error. There are thousands of Zen Cart sites all over the world connecting to MySQL 4 databases every day. Coupled with the fact that the upgrade_exceptions table DROP TABLE IF EXISTS is the first SQL statement executed by the db installer that attempts to do anthing with the database. (I'm discounting existence checks etc, this is actually altering the database).

    That said, I'm left with a probable cause of insufficient priviledges/permissions, or wrong username/password. Another possibility is attempting to access a remote MySQL server without remote access being enabled. I'm not sure that the error message is necessarily accurate beyond 'something went wrong', but it certainly indicates a problem.
    Another one thats caught me before is usernames and passwords that contain ones (1) and ells(l), and ohs (O) and zeroes (0). In courier fonts they can be interesting.

    My response would be to use MySQL 5, but then I've used nothing else since about version 1.2.7, so I'm probably biased.

  9. #9
    Join Date
    Sep 2007
    Location
    Australia, Sydney
    Posts
    23
    Plugin Contributions
    0

    Default Re: Data Base Issues aswell as other ppl here

    Hi Drbyte,

    Yes every time i try install ZC database section always same error message.
    HBTech "excellence in technology services"

  10. #10
    Join Date
    Sep 2007
    Location
    Australia, Sydney
    Posts
    23
    Plugin Contributions
    0

    Default Re: Data Base Issues aswell as other ppl here

    Thanks Chuckl,

    yes i've copy and paste the User name and passwords, so i dont think it's cap issues with numbers and letters... i just dont understand why the phpbb is easy to install than ZC, phpbb connects to the db quite with ease, but ZC hesitate to connect to the db...

    thanks guys for trying to help me, i hope we will get to the bottom of this..
    HBTech "excellence in technology services"

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Data Base not complete on fresh install
    By mitchcecg in forum Bug Reports
    Replies: 1
    Last Post: 12 Feb 2015, 08:45 PM
  2. v139g Cannot use the Sql install patch or import direct to data base
    By michelleodin in forum General Questions
    Replies: 1
    Last Post: 5 Jul 2014, 12:27 AM
  3. Importing New Template... What Data Base Issues Will I Have?
    By jeffis in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 31 Mar 2011, 11:06 AM
  4. Are these issues connected?
    By r€nato in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 27 Oct 2008, 03:45 PM
  5. Moved servers and data base will not import any help?
    By touchclothing in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 11 Apr 2008, 10:08 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