WordPress Mysql Has Gone

thumbnail

picture taken from tyka blog

today i got this problem really many time and not i only see that problem. my friends azmie, and all my subdomain like tyka see it to. so i think it a big problem so i ask the sales of internet-webhosting about the problem then they say the problem not from the server but it come for the error from wordpress data.

here some article about this problem.

Someone recently posted a comment on this blog and got this error message “WordPress database error: MySQL server has gone away”

After some googling of what the cause of this problem could be, I found an excellent blog article on the cause, along with a fix: http://www.openadvent.com/blog/?p=30.

That blog posting provided a fixed wp-includes/wp-db.php file based off of Wordpress 2.1.2. Since I need this fix for a different version of Wordpress, I needed to merge these changes into my desired Wordpress version.

Since other people might be interested in getting this change for versions of Wordpress other than 2.1.2, links for the fix for other versions are given below. I’m also posting the original versions of these files so that you can compare to see what the changes are.

To install the fix, download the “fixed” wp-db…phptxt file, rename it to wp-db.php, and copy it to wp-includes/wp-db.php (overwriting the old file). You may want to backup the old file instead of overwriting it. You’ll need to do this each time you upgrade Wordpress (a pain, I know), with the appropriate version of wp-db.php for that version of Wordpress.”

so when i read the article, i know what the problem and i fix it with the instruction given. if you got the same problem, fix it fast. oh yea.. for my all subdomain don’t worry. i already fix your wordpress data. so do not worry about to fix it.

for the visitor i really sorry if you got error when view or comment this blog and i hope you can come back here read and comment my entry again. if u see the error again feel free to tell me. i will find the way to fix it. thanks

information get from : fix for wordpress database error

Leave Your Comment

  1. wan
    wan Says:
    12-12-2007 @ 09:17:26

    wahh hebat tol ar ko ni acul..\
    mekasih oitt :d
    da ok blk da..

  2. gie
    gie Says:
    12-12-2007 @ 09:37:33

    good job..erm..english..?maybe, i supposed using english too in my blog…haiya…

  3. admin
    admin Says:
    12-12-2007 @ 12:12:09

    wahh hebat tol ar ko ni acul..\
    mekasih oitt :d
    da ok blk da..

    huhu… sib baik leh fixkan.. kalo tak lagi pening aku dibuatyer

    good job..erm..english..?maybe, i supposed using english too in my blog…haiya…

    huhu.. dah artikel tu base english tu yg tertulis full english.. :))

  4. tyka
    tyka Says:
    12-12-2007 @ 12:20:05

    ok tenks abg acul
    blog ku da normal
    hak hak hak

  5. admin
    admin Says:
    12-12-2007 @ 12:36:21

    ok tenks abg acul
    blog ku da normal
    hak hak hak

    takde hal la… kalo ade error lagi bagitau.. :)>-

  6. gie
    gie Says:
    12-12-2007 @ 01:03:30

    ade error kat blog haku…camne…?

  7. admin
    admin Says:
    12-12-2007 @ 01:24:38

    ade error kat blog haku…camne…?

    error kat blog ko tu error mase nak komen. bile komen die akan kuar postcomment.php. tapi komen tu masuk. aku pun heran.. cube ko tukar database die cam kat atas tu. tapi pastikan wat backup dl. aku pun taktau sgt ni

  8. gie
    gie Says:
    12-12-2007 @ 02:11:18

    ye ke…aduhai…ko komen balik…dah ok ke belom..aku dah trim plugin ni…

  9. tyka
    tyka Says:
    12-12-2007 @ 02:33:20

    wokey abg acul,
    seb baek blog ku dapat diselamatkan…
    smlm mmg tenat la… seb baek tak koma
    hukhukhuk

  10. admin
    admin Says:
    12-12-2007 @ 02:33:43

    ye ke…aduhai…ko komen balik…dah ok ke belom..aku dah trim plugin ni…

    still error lagi.. huk2

  11. admin
    admin Says:
    12-12-2007 @ 02:40:57

    wokey abg acul,
    seb baek blog ku dapat diselamatkan…
    smlm mmg tenat la… seb baek tak koma
    hukhukhuk

    hahah.. lain kali ade problem cepat2 bagi tau. maybe abg pun tak bape perasan kalo ade error

  12. tyka
    tyka Says:
    12-12-2007 @ 03:52:08

    hahah.. lain kali ade problem cepat2 bagi tau. maybe abg pun tak bape perasan kalo ade error

    tggu abg on9 kt ym je.
    smlm nk bg tau da petang tu..
    tp mane la tak on on ni..
    hhhohoo

  13. admin
    admin Says:
    12-12-2007 @ 04:04:44

    hahah.. lain kali ade problem cepat2 bagi tau. maybe abg pun tak bape perasan kalo ade error

    tggu abg on9 kt ym je.
    smlm nk bg tau da petang tu..
    tp mane la tak on on ni..
    hhhohoo

    ptg smlm…? erm.. abg ido kot.. huhu

  14. CypherHackz
    CypherHackz Says:
    12-12-2007 @ 04:22:28

    kalau dia tak on, spam je die nyer ym tu. kasi jem bile bukak ym.

  15. admin
    admin Says:
    12-12-2007 @ 04:45:05

    kalau dia tak on, spam je die nyer ym tu. kasi jem bile bukak ym.

    cait.. ko ngajar org wat spam lak.. :-w

  16. tyka
    tyka Says:
    12-12-2007 @ 08:27:07

    kalau dia tak on, spam je die nyer ym tu. kasi jem bile bukak ym.

    btol gk.. hahaha

    cait.. ko ngajar org wat spam lak.. :-w

    kah kah kah.. tyka takkan wat.. sye budak baik.. hohooh

  17. aman
    aman Says:
    12-13-2007 @ 02:15:33

    stakat nie blum jmpe lagi problem nie..huhu

  18. admin
    admin Says:
    12-13-2007 @ 04:00:21

    stakat nie blum jmpe lagi problem nie..huhu

    maybe yg baru download yg kene kot… aku pun heran gak #-o

Leave a Reply

:) :( :d :"> :(( \:d/ :x 8-| /:) :o :-? :-" :-w ;) [-( :)>- more »