Fastest Web Hosting

mysql connect error 1040 too many connections

0 votes
asked Aug 29, 2016 in Mysql by Manoj Insan (1,600 points)

My Hosting server creating a error log file where approx

MySQL connect error 1040: Too many connections

error showing...Can any body know about it , why is it concurring and how can i remove it..

Please...

Thanks in Advance

1 Answer

0 votes
answered Oct 8, 2016 by Atul Kumar (260 points)

May be you opening connection multiple time. If you open connection before the query please remember to close it when query done.
The other way to open connection in a file once and use it in each file you need to fetch/update data from database.

Job Board

TechnicalSharp is a technical community of developers where they are sharing their knowledge and solutions and against it they are getting the score point which help them to make profile strong which is under eyes on MNC's
...