Results 1 to 3 of 3
  1. #1
    Join Date
    May 2010
    Posts
    2
    Plugin Contributions
    0

    Default MySQL connection on install

    Hey everyone. I'm new to zen cart however my boss has been using it for years so I thought I'd give it a try.

    I'm trying to install it in a development environment. I'm running Apache 2.2.14 with PHP 5.3.1. I'm stuck in the middle of the install. Everything looks good until I reach the system inspection. Again, everything looks good except MySQL support is off.

    That doesn't make sense to me because I have two PHP sites running on this server both utilizing MySQL databases just fine.

    Here's my PHP build command:

    './configure' '--prefix=/home/mastertimothy/php5' '--with-mysqli=/usr/bin/mysql_config' '--with-apxs2=/home/mastertimothy/apache2/bin/apxs' '--with-gd'

    Also the mysqli section of the phpinfo(); page is filled out with the correct information.

    Any ideas?

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

    Default Re: MySQL connection on install

    It's looking for "mysql", not "mysqli".
    .

    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.

  3. #3
    Join Date
    May 2010
    Posts
    2
    Plugin Contributions
    0

    Default Re: MySQL connection on install

    Hey thanks for the quick reply. You were right. I wasn't aware there was two different kinds of MySQL connectors. I rebuilt php using the -with-mysql=.... and --with-mysqli=.....

    I finished the install and it seems to be working great.

 

 

Similar Threads

  1. v151 connection pooling? To many mySQL processes
    By makenoiz in forum General Questions
    Replies: 3
    Last Post: 20 Jan 2013, 03:50 AM
  2. 2013 Lost connection to MySQL server during query
    By rgriffith98 in forum General Questions
    Replies: 8
    Last Post: 24 Nov 2008, 08:53 PM
  3. mysql connection string change?
    By octopusbjj in forum General Questions
    Replies: 2
    Last Post: 15 Feb 2008, 08:11 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