Announcement

Collapse
No announcement yet.

Database error !

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Database error !

    Hi guys, i keep getting the following error 5 or 6 times a day do you know what might be causing this and how can i fix this:

    Code:
    mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Too many connections
    /public_html/forum/includes/class_core.php on line 311
    Thanks

  • #2
    Your exceeding the set limit of connections to your database.

    You need to Edit my.cnf (Typically /etc/my.cnf or /etc/mysql/my.cnf or /etc/my.ini)

    max_connections = xxx

    You need to raise the current value by 100

    Then restart mysql

    That should sort you out.
    Xbox 360 Forums

    Comment


    • #3
      Code:
      mysql_connect() [<a  href='function.mysql-connect'>function.mysql-connect</a>]: Can't  connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'  (11)
      public_html/forum/includes/class_core.php on line 311
      here is another error abit different from the above one ? is this same thing or different ?

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X