[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mysql-DB in utf8 verändern



Moin zusammen,


ich komme nicht weiter an folgendem Punkt:

Ich habe einen Sarge-Server mit teilweise veralteten und gebackporteten
Paketen. U.A. läuft da ein MySQL-Server:

mysqld  Ver 4.0.24_Debian-10sarge2-log for pc-linux-gnu on i386 (Source
distribution)

Ich soll nun einer Datenbank das CharSet utf8 verpassen, aber ich
bekomme nur Hinweise, dass ich es falsch mache:

mysql> use demo1
Database changed
mysql> SHOW CHARSET;
ERROR 1064: You have an error in your SQL syntax.  Check the manual that
corresponds to your MySQL server version for the right syntax to use
near 'CHARSET' at line 1
mysql> SHOW CHARACTER SET;
ERROR 1064: You have an error in your SQL syntax.  Check the manual that
corresponds to your MySQL server version for the right syntax to use
near 'CHARACTER SET' at line 1
mysql> ALTER DATABASE demo CHARACTER SET utf8 COLLATE utf8;
ERROR 1064: You have an error in your SQL syntax.  Check the manual that
corresponds to your MySQL server version for the right syntax to use
near 'DATABASE demo CHARACTER SET utf8 COLLATE utf8' at line 1

Irgendwo ist da ein grundsätzliches Problem....

??

Boris


Reply to: