Answer the question
In order to leave comments, you need to log in
How to change all encoding in mysqul phpmyadmin?
enter sql query
SELECT CONCAT('ALTER TABLE `', t.`TABLE_SCHEMA`, '`.`', t.`TABLE_NAME`, '` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;') as sqlcode
FROM `information_schema`.`TABLES` t
WHERE 1
AND t.`TABLE_SCHEMA` = 'rielt2'
ORDER BY 1
Answer the question
In order to leave comments, you need to log in
1. The request generated great commands for you to change the encoding.
RUN THEM.
2. Maybe it makes sense to explicitly indicate the connection encoding at the stage of connecting to the database? In the database connection code right after connect.
set names utf8;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question