tag:blogger.com,1999:blog-246631288057727690.post1682341781673340112..comments2023-07-18T14:05:00.326+05:30Comments on Tips and Tricks: SQLSTATE[HY000]: General error: 2006 MySQL server has gone awayMadhav Vyashttp://www.blogger.com/profile/11743496528300644843noreply@blogger.comBlogger40125tag:blogger.com,1999:blog-246631288057727690.post-62176739194930495822017-02-28T11:54:39.125+05:302017-02-28T11:54:39.125+05:30You're a life-saver. I was about to switch to...You're a life-saver. I was about to switch to Wordpress, but this gave me hope.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-246631288057727690.post-38829145173957506782016-03-04T20:39:41.483+05:302016-03-04T20:39:41.483+05:30Changing my.cnf worked for me . Thanks ! Changing my.cnf worked for me . Thanks ! MUNYEMANA Gilberthttps://www.blogger.com/profile/00381217978698108028noreply@blogger.comtag:blogger.com,1999:blog-246631288057727690.post-90401090426941692342015-04-23T08:23:05.380+05:302015-04-23T08:23:05.380+05:30If the solution should change the parameters, so t...If the solution should change the parameters, so the concluding we can not work with Drupal on a free web hosting service.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-246631288057727690.post-74411503167528412732015-02-10T18:15:29.791+05:302015-02-10T18:15:29.791+05:30I am facing the same problem on my project running...I am facing the same problem on my project running on bluehost servers. How can i chnage my.ini at server?preetamgawadehttps://www.blogger.com/profile/15497865031940075717noreply@blogger.comtag:blogger.com,1999:blog-246631288057727690.post-70389498802285331102014-06-10T15:30:30.809+05:302014-06-10T15:30:30.809+05:30thank you it 's working ! ! !thank you it 's working ! ! !Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-246631288057727690.post-41601967119704395982014-05-24T13:24:09.374+05:302014-05-24T13:24:09.374+05:30ThanksThanksAnonymoushttps://www.blogger.com/profile/06267628059109217465noreply@blogger.comtag:blogger.com,1999:blog-246631288057727690.post-69950537613374541852014-05-11T23:19:56.372+05:302014-05-11T23:19:56.372+05:30Can you elaborate your question please? Which admi...Can you elaborate your question please? Which admin area are you talking about?Madhav Vyashttps://www.blogger.com/profile/11743496528300644843noreply@blogger.comtag:blogger.com,1999:blog-246631288057727690.post-44561580058557684322014-05-10T23:16:15.575+05:302014-05-10T23:16:15.575+05:30i am suffering from same issue but only when i ent...i am suffering from same issue but only when i enter admin area please help meUnknownhttps://www.blogger.com/profile/04240157114965317685noreply@blogger.comtag:blogger.com,1999:blog-246631288057727690.post-80919254201281934122014-04-02T17:15:42.176+05:302014-04-02T17:15:42.176+05:30Hi I'm using shared server... & CakePHP......Hi I'm using shared server... & CakePHP.... Can any body help me for this issue...Anonymoushttps://www.blogger.com/profile/07138684637768777878noreply@blogger.comtag:blogger.com,1999:blog-246631288057727690.post-52350046454588024772014-02-13T03:04:04.349+05:302014-02-13T03:04:04.349+05:30Additional uncaught exception thrown while handlin...Additional uncaught exception thrown while handling exception.<br />Original<br /><br />PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT filename FROM {registry} WHERE name = :name AND type = :type; Array ( [:name] => views_plugin_display_default [:type] => interface ) in _registry_check_code() (line 3091 of /home/fada/public_html/mobaderoon/includes/bootstrap.inc).<br />Additional<br /><br />PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT ff.* FROM {filter_format} ff WHERE (status = :db_condition_placeholder_0) ORDER BY weight ASC; Array ( [:db_condition_placeholder_0] => 1 ) in filter_formats() (line 427 of /home/fada/public_html/mobaderoon/modules/filter/filter.module).<br /><br />iam using shared hosting multisites .. one site is working and another not same core and different database<br /><br />what should i do ?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-246631288057727690.post-77229760901946094022013-12-26T05:01:53.982+05:302013-12-26T05:01:53.982+05:30thumb up ... thxthumb up ... thxAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-246631288057727690.post-89931299961084105562013-08-30T21:11:10.539+05:302013-08-30T21:11:10.539+05:30here is my error in mysql:
PDOException: SQLSTATE...here is my error in mysql:<br /><br />PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT * FROM {uc_product_classes}; Array ( ) in uc_product_class_load() (line 1515 of /www/vhtdocs/dev_twe_reseller/sites/all/modules/ubercart/uc_product/uc_product.module).<br /><br />I have chenged max_allowed_packet in my.cnf file. that also not working.<br />am using linux os + drupal + mysql<br /><br /><br />PLZ HELP ME.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-246631288057727690.post-86123541320634397602013-07-23T22:24:29.120+05:302013-07-23T22:24:29.120+05:30thanks Madhav Vyas!!!thanks Madhav Vyas!!!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-246631288057727690.post-77744441506259741242013-07-20T13:03:35.761+05:302013-07-20T13:03:35.761+05:30whoever you are, you are a life saverwhoever you are, you are a life saverAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-246631288057727690.post-80976136762098439882013-04-21T12:40:49.269+05:302013-04-21T12:40:49.269+05:30Ok I found under /lampp/etc/my.cnf
in there there...Ok I found under /lampp/etc/my.cnf <br />in there there is a <br /><br />[mysqld]<br />max_allowed_packet = 1M <br /><br />[mysqldump]<br />quick<br />max_allowed_packet = 16M<br /><br /><br /><br />I changed the first 1M to 16M , restarted lampp , mysql, everything and now everything is fine. Thanks!random guynoreply@blogger.comtag:blogger.com,1999:blog-246631288057727690.post-33205436952297241002013-04-21T12:29:41.159+05:302013-04-21T12:29:41.159+05:30I am on Fedora running xampp
it's installed u...I am on Fedora running xampp <br />it's installed under lampp/htdocs/xampp <br /><br />i can't find my.ini <br /><br />whereis my.ini returned nothing.<br /><br />Ideas?random guynoreply@blogger.comtag:blogger.com,1999:blog-246631288057727690.post-33495644661842082862013-03-30T14:41:50.212+05:302013-03-30T14:41:50.212+05:30Can you give some more details about your OS.Can you give some more details about your OS.Madhav Vyashttps://www.blogger.com/profile/11743496528300644843noreply@blogger.comtag:blogger.com,1999:blog-246631288057727690.post-72123944785939202042013-03-30T13:02:19.014+05:302013-03-30T13:02:19.014+05:30there is no my.ini file. What can I do now?there is no my.ini file. What can I do now?Anonymoushttps://www.blogger.com/profile/03674509708948564084noreply@blogger.comtag:blogger.com,1999:blog-246631288057727690.post-64245302785208691482013-01-04T13:11:40.870+05:302013-01-04T13:11:40.870+05:30Thank you for sharing! Helped me to solve an issue...Thank you for sharing! Helped me to solve an issue just now!Claudiohttp://www.claudiokuenzler.comnoreply@blogger.comtag:blogger.com,1999:blog-246631288057727690.post-88604682821224205632012-12-28T21:41:06.819+05:302012-12-28T21:41:06.819+05:30Thanks Madhav Vyas I was beginning to lose my hair...Thanks Madhav Vyas I was beginning to lose my hair on this one! thought I'd managed to corrupt data with a bad transaction. Thankfully not !Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-246631288057727690.post-50065603245707728682012-11-15T20:13:57.218+05:302012-11-15T20:13:57.218+05:30You may also need to increase the maximum packet s...You may also need to increase the maximum packet size on the client, It will helps to overcome your error.Madhav Vyashttps://www.blogger.com/profile/11743496528300644843noreply@blogger.comtag:blogger.com,1999:blog-246631288057727690.post-25713224575369133842012-10-23T00:08:14.354+05:302012-10-23T00:08:14.354+05:30when i enabled rules ui, this appears the same pro...when i enabled rules ui, this appears the same problem SQLSTATE[HY000]: General error: 2006 MySQL server has gone away and i did it to increase the size, but itsnt working well i can´t get any content types and this appear the problem, help!Citlalli Herrerahttps://www.blogger.com/profile/13902370834964835654noreply@blogger.comtag:blogger.com,1999:blog-246631288057727690.post-44504826506793180332012-09-12T14:21:17.045+05:302012-09-12T14:21:17.045+05:30Madhav, thank you very much indeed!Madhav, thank you very much indeed!lavidaenarmoniahttps://www.blogger.com/profile/07757293803776103538noreply@blogger.comtag:blogger.com,1999:blog-246631288057727690.post-58670187814017817122012-08-28T17:36:01.599+05:302012-08-28T17:36:01.599+05:30i got the same error with drupal 7 and did all the...i got the same error with drupal 7 and did all the above but still the same error comes again<br /><br />i also doubled other values for cache and mysqldump but also nothing changed<br /><br />surely restarted mysql and restarted Ubuntu as well<br /><br />please helpمحمد جمعهhttps://www.blogger.com/profile/09165267608984893186noreply@blogger.comtag:blogger.com,1999:blog-246631288057727690.post-18282392828527593192012-08-17T10:06:45.854+05:302012-08-17T10:06:45.854+05:30I found the same Error in Yii: Above solution &quo...I found the same Error in Yii: Above solution "change in my.ini <br />max_allowed_packet=100M" didn't work.:(Anonymousnoreply@blogger.com