Reply to comment

MySQL 4.0 zu 4.1 konvertieren

Tagged:

Drupalinstallation von MySQL 4.0 nach 4.1 konvertieren

Schwierigkeit: MySQL 4.0 kennt kein UTF-8. Drupal verwendet aber auch auf 4.0 UTF-8 kodierte Umlaute etc.

Ein Weg, von 4.0 auf 4.1 upzudaten (ungeklärt: funktioniert nicht immer):

  • Aus 4.0 exportieren: mysqldump --opt --add-drop-table --default-character-set=latin1
  • In 4.1 einlesen: mysql --default-character-set=utf8
  • Aus 4.1 exportieren: mysqldump --opt --add-drop-table
  • Alle DEFAULT CHARSET=latin1 ändern nach DEFAULT CHARACTER SET utf8
  • In 4.1 einlesen

Mehr zum Thema: MySQL: Zeichensatz-Grundlagen

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Insert Google Map macro.

More information about formatting options