Home >Database >phpMyAdmin >What should I do if mySQL comments are garbled in phpmyadmin after inserting SQL statements?
MySQL Solution to garbled comments in phpmyadmin after inserting SQL statements: first query the sql statement, then add the statement [set names gbk] to the code to change the encoding; finally reopen it and the display will be correct.
MySQL Solution to garbled comments in phpmyadmin after inserting SQL statements:
1. First query sql statement
#2. I found that there was no problem with the SQL statement. It felt like it was a display encoding problem, so I used set names gbk to change the encoding and tried it.
3. The display is OK
## Recommended tutorials:
The above is the detailed content of What should I do if mySQL comments are garbled in phpmyadmin after inserting SQL statements?. For more information, please follow other related articles on the PHP Chinese website!