Sugree

Main menu

  • About
    • Self
  • Project
    • Barcode Generator / Reader
    • GT200
    • GeoPin
    • Mitter
    • Red Mob
    • Thairath Breaking News
    • Twitter Android SDK
    • jibjib
    • microblog-purple
    • English
    • Thai

Upgrading Drupal 4.6.5 to 5.7

Submitted by sugree on Tue, 02/05/2008 - 01:34
  • Drupal
  • English
  • MySQL

I just upgraded Rerng®IT with Drupal 4.6.5 and MySQL 4.1 to Drupal 5.7 and MySQL 5.0.32 on OpenFreeHost. The most classical problem is character set aka encoding. Drupal 4.6.5 still uses utf-8 on top of latin1 even though MySQL 4.1 supports utf-8. However, Drupal 5.7 will uses utf-8 on utf-8 natively if MySQL is 4.1 or later. So what is the best practice to upgrade Drupal through 3 major versions?

What I did are:

  1. Export old data using mysqldump

        mysqldump --add-drop-table -uusername -ppassword -c --default-character-set=binary database > backup.sql
     
  2. Import data to new server

        mysql -uusername -ppassword database < backup.sql
     
  3. Upgrade to Drupal 4.7.11

  4. Upgrade to Drupal 5.7
Roti (alpha) thinks you may like these:
  • (no links yet)
  • Login to post comments
by Gabriel Radic (not verified) on Sat, 03/15/2008 - 05:02 #117

Hi,

I think I have the same issue you do. Did your method work?

  • Login to post comments
by sugree on Sat, 03/15/2008 - 09:20 #118

It works perfect no problem at all. I just redo that method on another site last night. Successfully upgraded to Drupal 6.1.

  • Login to post comments

Popular Tags

Android BarCamp BarCampBangkok Book Django Drupal Education Family Google Hardware Hardy Health Interview Intrepid Java jibjib Joke Life microblog-purple OpenOffice.org OpenSource Podcast Python Review SoC Social Network Trip Twitter Ubuntu Weekly Suki
more tags

Powered By

debian
apache
drupal
drupal.in.th
openfreehost
inox
feedburner

© 2007-2008 Sugree Phatanapherom. Creative Commons [Feed Content / Comment]
RoopleTheme