Mysql error

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
savadi
Forum Newbie
Posts: 4
Joined: Thu May 15, 2008 10:08 pm

Mysql error

Post by savadi »

Hello guys,

Recently i encounter a wired PHP warning message...

Code: Select all

PHP Warning:  Query "{SQL}" failed: MySQL server has gone away in  /XXX/XXX/XXX/include/database.php
(i have replaced the original SQL syntax with "{SQL}". there is no syntax or logical error in the SQL )

Anyone know whats causing this warning or how i can rectify this warning ?

The code works fine on my PC but it breaks when i upload it to the hosting server....

Thank you :)
User avatar
N1gel
Forum Commoner
Posts: 95
Joined: Sun Apr 30, 2006 12:01 pm

Re: Mysql error

Post by N1gel »

User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: Mysql error

Post by Eran »

"gone away" is so much more tactful than "FATAL ERROR"
Too bad it doesn't convey the same sense of urgency ;-)
Post Reply