If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > set Mysql characterset temporarily ??

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-05-04, 03:04
willi.st willi.st is offline
Registered User
 
Join Date: Feb 2004
Location: Vienna/Austria
Posts: 7
Question set Mysql characterset temporarily ??

good morning listmembers

i temporarily want to change mysql's characterset.

the statement mysql> show variables like 'character_set'; shows me the result:

character_set | latin1


ok. the statement mysql> show variables like 'character_sets'; shows me the result:

character_sets | latin1 big5 czech euc_kr gb2312 gbk latin1_de sjis tis620 ujis dec8 dos german1 hp8 koi8_ru latin2 swe7 usa7 cp1251 danish hebrew win1251 estonia hungarian koi8_ukr win1251ukr greek win1250 croat cp1257 latin5


which are the possible charactersets as i understand it. To change the current characterset to german1 for example i use the statement:


mysql> set character set german1;
ERROR 1115: Unknown character set: 'german1'


hm ... ??? whats going wrong? Why will i get an error message? Can someone explain the write way to change the characterset temporarily?

thanks :-)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On