How to change MySQL database collation from phpMyAdmin in cPanel

May 5, 2009 · Filed Under cPanel Hosting Tutorials 

Sometime you may require to change MySQL collation in your web hosting account to use foreign character encoding. There are many ways to change MySQL collation. Here are the steps to change MySQL collation from phpMyAdmin in cPanel:

[1] Login to your cPanel and click on “phpMyAdmin” icon.
[2] Click on your database name and the go to “Operations” tab.
[3] At the bottom of the page you will see the collation option. You can now select a collation from the drop down menu and click on the Go button.

Please note that the new collation will be set for new tables only. Old table will use the previous collation under which they were created. If you want to use new collation for already created tables, you will need to change collation for all tables.

Related Posts

  1. How to reset Joomla administrator password
  2. create an email account in cpanel
  3. Prevent the user nobody from sending email from cPanel server
  4. MySQL
  5. Munin MySQL monitoring graph is not updating or blank

Comments

5 Responses to “How to change MySQL database collation from phpMyAdmin in cPanel”

  1. Ritesh on May 9th, 2009 4:55 AM

    Hi,

    Thanks for the steps.

    Ritesh

  2. maqsoodahmad on August 6th, 2009 12:17 PM

    how i can change database on my site

  3. kailash on September 19th, 2009 1:30 PM

    Are you referring to rename your MySQL database?

  4. jay bharat on December 11th, 2009 1:58 PM

    See if u want to use other then engish in your data base so u should have set Collation value as utf_char8 like p>???????? ?? ????????? ????????????? ?? ??????????????? ?? ?? ???????? ?? ???????? ??? ?? ????? ?? ?????? ??? ???? ?? ???? ?? ???? ?? ??. ?????? ???????? ?? ???? ?? ?? ???? ??? ??? ???? ???? ??????? ??? ???????? ??? ?????? ??.

    Above line reflected as same ooutput, but if u dont use utf_char8 as Collation then output become like this ?????? ??? ???? ???? ???

  5. jay bharat on December 11th, 2009 8:58 PM

    See if u want to use other then engish in your data base so u should have set Collation value as utf_char8 like p>???????? ?? ????????? ????????????? ?? ??????????????? ?? ?? ???????? ?? ???????? ??? ?? ????? ?? ?????? ??? ???? ?? ???? ?? ???? ?? ??. ?????? ???????? ?? ???? ?? ?? ???? ??? ??? ???? ???? ??????? ??? ???????? ??? ?????? ??.

    Above line reflected as same ooutput, but if u dont use utf_char8 as Collation then output become like this ?????? ??? ???? ???? ???

Leave a Reply

You must be logged in to post a comment.

Untitled Document