- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Change MySQL default character set to UTF-8 in my.cnf?
To change MySQL default character set to UTF-8 in my.cnf, firstly reach the location of my.cnf file.
The following is the screenshot of “my.cnf” file. Firstly, open the C: directory and the “Program Data” folder −
Now, click on “MySQL” folder −
Now, click the MySQL Server 8.0 folder and open it −
After opening MySQL Server 8.0, you will get “my.cnf” file location.
After opening my.cnf file, you will get the character-set. Open the file and the following contens are visible −
Now you can change the character-set to utf8.
Advertisements
To Continue Learning Please Login
Login with Google