Click here to Skip to main content
15,914,276 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i had code with mysql_close(); written at bottom of page, when i run code i get error MySQL server has gone away error.

When i comment line mysql_close(); , it works fine.

What could be problem ?
Posted

1 solution

When you get an error message you don't understand, the first thing to do is paste it into Google and see what it says.
Google: MySQL server has gone away
[^]
This lists a number of reasons, which should help. Without your coffee, we can't do any more than that!

In future, please try Google first - it's faster than asking here!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900