vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Convert DB from iso8859-7 to UTF8 (https://vborg.vbsupport.ru/showthread.php?t=208282)

TheLab 03-14-2009 08:47 AM

Convert DB from iso8859-7 to UTF8
 
Hi all and apologies if this is not the correct category to post it.

I am trying to convert my database to UTF8 from iso 8859-7 greek but i can't seem to be able to do it without errors.

Can you point me to the correct direction or give me some hints of how i should be doing this?

Thanks in advance.

Dismounted 03-14-2009 11:54 AM

How are you trying to convert the database? What errors do you get? (Make sure you have a backup of your database, changing character sets is not a simple task.)

TheLab 03-14-2009 12:07 PM

Thanks for the quick reply. My problems start from the dump. If i use mysqldump from the console i can get the database but i can not read the greek letters with any editor (currently using ultraedit). If i dump the database through vb i can read the greek letters but the dump stops at 350mbs - db is currently 680mbs.

I have used different switches to mysqldump such as --default-character-set=ISO 8859-7
or --default-character-set=Greek but i still can't get a readable dump.

Marco van Herwaarden 03-14-2009 12:55 PM

Why is it important to have a readible backup?

TheLab 03-14-2009 01:19 PM

I don't know, but how can i convert it if i can't see the characters correctly?

Marco van Herwaarden 03-15-2009 11:49 AM

You can change the characterset from within MySQL, no need for external editors or such.

TheLab 03-15-2009 12:06 PM

Quote:

Originally Posted by Marco van Herwaarden (Post 1768604)
You can change the characterset from within MySQL, no need for external editors or such.

Can you advice how please?

Thank you

Marco van Herwaarden 03-15-2009 01:12 PM

That depends on what you want and what the current situation is.

If you open a support ticket with "FAO: Marco" as title, then i can sent you a script that will help you with this.

LoveStream 06-26-2009 06:47 PM

Quote:

Originally Posted by Marco van Herwaarden (Post 1768604)
You can change the characterset from within MySQL, no need for external editors or such.

Hi. Marco.

We have old about 1GB MySQL db with character set is KOREAN, but I would like to covert it to UTF-8 data.

I want to learn how its method to convert step by step or most easy and simple method.
  • Does it possible to convert just to adjust MySQL configure setting? If I were reset MySQL table parameter to unicode_UTF how the stored Korean TEXT would be converted?
  • Does it possible to convert without any backup except for the safe restore?
  • If I use phpMyAdmin tool to convert it, does it possible? Before I try to work I wish to hear your teaching.

Could you guide it to me?

Thanks in advanced.

from LS.

Dismounted 06-27-2009 04:48 AM

Have a look at this article: https://vborg.vbsupport.ru/showthread.php?t=216863


All times are GMT. The time now is 02:20 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01092 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete