We are 31 years old!

Stable and quality Internet Services for everyone!

Home networks
  • Mon-Fri:
    09:00-19:00
    Sat:
    10:00-18:00
    Sun:
    сlosed
Technical Support
  • Round the clock 24/7/365

I need to set some encoding in the MySQL database. How to do it?

I need to set some encoding in the MySQL database. How to do it?

Go to the phpMyAdmin interface and select the SQL tab.

In the window, enter the command: «ALTER DATABASE database name DEFAULT CHARACTER SET name_of_required_code_table».

The first in Your script after connecting to the database should be the command «SET NAMES name_of_required_code_table».