Ok, here an small example of my Data:
DROP TABLE IF EXISTS vbadminhelp
;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE vbadminhelp
(
adminhelpid
int(10) unsigned NOT NULL auto_increment,
script
varchar(50) NOT NULL default ‘’,
action
varchar(25) NOT NULL default ‘’,
optionname
varchar(100) NOT NULL default ‘’,
displayorder
smallint(5) unsigned NOT NULL default ‘1’,
volatile
smallint(5) unsigned NOT NULL default ‘0’,
product
varchar(25) NOT NULL default ‘’,
PRIMARY KEY (adminhelpid
),
UNIQUE KEY phraseunique
(script
,action
,optionname
)
) ENGINE=MyISAM AUTO_INCREMENT=27637 DEFAULT CHARSET=utf8;
SET character_set_client = @saved_cs_client;
And now the import:
INSERT INTO vbadminhelp
VALUES (27442,‘usergroup’,‘add,edit’,‘canusecustomtitle’,200,1,‘vbulletin’),(27441,‘usergroup’,‘add,edit’,‘canjoingroups’,200,1,‘vbulletin’),(27440,‘usergroup’,‘add,edit’,‘canseeraters’,190,1,‘vbulletin’),(27439,‘usergroup’,‘add,edit’,‘showeditedby’,180,1,‘vbulletin’),(27438,‘usergroup’,‘add,edit’,‘caninvisible’,170,1,‘vbulletin’),(27437,‘usergroup’,‘add,edit’,‘canmodifyprofile’,160,1,‘vbulletin’)
DROP TABLE IF EXISTS vbword
;SET @saved_cs_client = @@character_set_client;SET character_set_client = utf8;CREATE TABLE vbword
( wordid
int(10) unsigned NOT NULL auto_increment, title
char(50) NOT NULL default ‘’, PRIMARY KEY (wordid
), UNIQUE KEY title
(title
)) ENGINE=MyISAM AUTO_INCREMENT=16229 DEFAULT CHARSET=utf8;SET character_set_client = @saved_cs_client;---- Dumping data for table vbword
–LOCK TABLES vbword
WRITE;/*!40000 ALTER TABLE vbword
DISABLE KEYS */;INSERT INTO vbword
VALUES (1,‘aprilscherz’),(2,‘heise’),(3,‘thema’),(4,‘prozessorkühlung’),(5,‘übertragen’),(6,‘wärmestrahlung’),(7,‘elektromagnetische’),(8,‘strahlung’)
[client]
#password = your_password
port = 3306
socket = /var/run/mysql/mysql.sock
default_character_set = utf8
And this is, what phpMyAdmin tells me about the field title:
char(50) utf8_general_ci
At the old System it was:
char(50) latin1_swedish_ci
On both Systems: LC_CTYPE=de_DE.UTF-8
I should be able to import this data by mysql client correctly or?