osCmax v2.5 User Manual
Results 1 to 6 of 6

Error question, Why

This is a discussion on Error question, Why within the osCMax v1.7 Installation forums, part of the osCmax v1.7 Forums category; Hello, I am working on adding items to my site through the admin panel and when I tried to log ...

      
  1. #1
    Anonymous
    Guest


    Default Error question, Why

    Hello,
    I am working on adding items to my site through the admin panel and when I tried to log back in it gave me this error:
    Warning: mysql_connect(): Too many connections in /nfs/home/adults10/public_html/catalog/includes/functions/database.php on line 19
    Unable to connect to database server!

    Someone please help

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    Your MySQL serve has too many connections and you were unable to connect. Check to make sure you are not on an overloaded server, or that MySQL is configured properly. You may need to restart MySQL
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    Anonymous
    Guest


    Default

    I know this is late but I costantly get this error when traffic starts to get heavy. Mysql is on a different server than apache and php.

    Would it be better to do an install of mysql on the same server as the apache or would this just make it worse? I have a feeling i am sharing the mysql server with other users. Actually I know I am because the first time i logged on that server with MysqlCC I seen about 50 other databases on the same server.

    Does anyone have any insight to this, Would it be better to put a local mysql install on my dedicated server?

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    If you mysql server is shared, it is overloaded or not optimized. If you site is not that large, mysql on the same machine is faster than on a remote server. You may want to look at getting a dedicated or at least contact your host and ask them to optimize the mysql server or check for resource hogs...
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    Lurker
    Join Date
    Jun 2004
    Location
    Minneapolis, MN
    Posts
    1
    Rep Power
    0


    Default

    The storing sessions in MySQL make a difference in this type of situation?

  6. #6
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    No, it is a server level overload. It has nothing to do with the osC application.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. Installation error question
    By vincent1288 in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 03-26-2005, 02:37 PM
  2. FATAL ERROR question. Desperate for help!
    By sissel_lina in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 01-03-2004, 09:03 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
  •