vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Database encoding problems (https://vborg.vbsupport.ru/showthread.php?t=280404)

Jirinex 03-20-2012 01:32 PM

Database encoding problems
 
Posted the same thing in vbulletin.com but maybe more eyes will see it here. Anyway..

My database needs some love and care. We originally created this database back in 2002 with vbulletin 2 and iso-8859-7. Over the years I tried various tools to convert it to full utf8 without success and now this is how it stands. The DB is UTF8, the tables are UTF8, but all the data inside are in iso-8859-7 encoding which causes me various issues.

Anyone has any guide of how I can convert it fully to utf8 and be done with this issue? I am using mysql 5.1.50 and the size is around 2.5gbs. Any help would be much appreciated.

souperman 03-20-2012 06:29 PM

You need to export your data as UTF8, then change the columns/fields to UTF8 data type. Once that's done, import your sql dump. Before you try this, make sure you backup your original data.

Jirinex 03-21-2012 09:25 AM

I can export it as UTF8 but how do I change the columns/fields after to utf8 data type?

Willo 03-25-2012 02:27 AM

If not...download and add it. using it you can change collations with...Warning,,,it's time consuming

Jirinex 03-26-2012 07:34 AM

The collations are fine. The problem is that the data are in ISO-8859-7 and everything else is UTF8.


All times are GMT. The time now is 06:57 AM.

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.01244 seconds
  • Memory Usage 1,708KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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