How to change MySQL database collation from phpMyAdmin in cPanel
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
- How to reset Joomla administrator password
- create an email account in cpanel
- Prevent the user nobody from sending email from cPanel server
- MySQL
- Munin MySQL monitoring graph is not updating or blank
Comments
5 Responses to “How to change MySQL database collation from phpMyAdmin in cPanel”
Leave a Reply
You must be logged in to post a comment.





Hi,
Thanks for the steps.
Ritesh
how i can change database on my site
Are you referring to rename your MySQL database?
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 ?????? ??? ???? ???? ???
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 ?????? ??? ???? ???? ???