error no :1040 too many connection

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • barrathi
    New Member
    • Jun 2006
    • 29

    error no :1040 too many connection

    Hai all,

    when my developers run the application(lar ge application report module)
    at that time one error will come
    it shows both database and also application

    error no :1040 too many connection

    i thought my server is low configuration(m y server 40GB hard disk,512 mb ram)

    tell me any solution or my point is correct,

    thanks in advance.
    barrathi.
  • barrathi
    New Member
    • Jun 2006
    • 29

    #2
    Originally posted by barrathi
    Hai all,

    when my developers run the application(lar ge application report module)
    at that time one error will come
    it shows both database and also application

    error no :1040 too many connection

    i thought my server is low configuration(m y server 40GB hard disk,512 mb ram)

    tell me any solution or my point is correct,

    thanks in advance.
    barrathi.

    hai help me
    i need solution

    Comment

    • ronverdonk
      Recognized Expert Specialist
      • Jul 2006
      • 4259

      #3
      What is mysql.max_links value in php.ini?

      Ronald :cool:

      Comment

      • sayur
        New Member
        • Sep 2007
        • 2

        #4
        Originally posted by ronverdonk
        What is mysql.max_links value in php.ini?

        Ronald :cool:
        how to find php.ini...???

        Comment

        • sayur
          New Member
          • Sep 2007
          • 2

          #5
          1040 Too many connection error

          hi all...im newbie...

          please help me and give me the solution how to find/solve the problem about 1040 too manya connection error code.


          thks

          Comment

          • mwasif
            Recognized Expert Contributor
            • Jul 2006
            • 802

            #6
            To avoid this error you have to increase the connection limit in MySQL defined by max_connections in my.cnf.
            What is the current connection limit in MySQL? To know this, run the following query
            [CODE=mysql]SHOW VARIABLES LIKE 'max_connection s';[/CODE]
            For more info on this, check the MySQL Manual.

            Comment

            Working...