Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Convert Database Latin1 to Utf8

Posted on 2014-10-15
10
142 Views
Last Modified: 2014-10-24
Hello ,

 I have database vBulletin , i wont to change it from latin1 to utf8
0
Comment
Question by:NoBoDyDD
  • 5
  • 5
10 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40383108
While you can easily change the "collation", that does Not change the actual characters.  And if you are having display problems, it will not change that.  That only changes things like how a table is sorted because 'latin' character set does not have all the characters at the same code points as UTF-8.  In general, changing an existing database that has been working is not a good idea.
0
 

Author Comment

by:NoBoDyDD
ID: 40383151
hello ,

but i wont to change it ..
isee some command via ssh to convert it but it was unlikely
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40383185
If you have phpMyAdmin available on that server, you can use it to change it.  However... each table and even each column can have the 'collation' declared separately.  You may also need 'root' access to change all of the tables.  Here http://dev.mysql.com/doc/refman/5.5/en/mysql.html is info on using the 'mysql' command line program.  And here is info on character sets and collations:  http://dev.mysql.com/doc/refman/5.5/en/globalization.html
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

Accepted Solution

by:
NoBoDyDD earned 0 total points
ID: 40383219
can u give a command to do it via ssh ^^
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40383258
I just did.  'mysql' is also a command line program that you can run thru an SSH connection.  If you are looking for a single command that will do what you want, it does not exist.  You have to go thru the databases and tables one by one and change them.
0
 

Author Comment

by:NoBoDyDD
ID: 40385836
Hello ,

do u know any script do the convert automatic
or do u  know a export company
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40385842
No, I don't.  I have never heard of anyone doing this because it causes too many problems.
0
 

Author Comment

by:NoBoDyDD
ID: 40385974
hey again ,
i found this tool and it was a great
but i see blank page becasue my database size 7.1 Gb
he change every tables but not all of them
http://www.phoca.cz/download/category/17-phoca-changing-collation-tool
?
what u think ?
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40386016
What ever works for you.  I don't have time to look at it.
0
 

Author Closing Comment

by:NoBoDyDD
ID: 40401588
worked
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This guide whil teach how to setup live replication (database mirroring) on 2 servers for backup or other purposes. In our example situation we have this network schema (see atachment). We need to replicate EVERY executed SQL query on server 1 to…
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question