P
P
Pavel2018-11-29 16:05:26
MySQL
Pavel, 2018-11-29 16:05:26

How to fix an error with recoding tables through sql query in MySQL database?

1) It all started with the appearance of the "table encoding" error when testing the system in the Bitrix admin panel.
5bffcff47f9d1439769335.png
Already 1942 errors. I looked at the database in phpmyadmin and realized that I would manually change the encoding for each table and field for a week.
2) Found an alternative solution - through sql query. In the database in the sql tab, I entered the query: 5bffd16c49fb5155739248.pngand clicked "ok".
3) Queries were generated for each table:
5bffdec272774248389382.png
4) I copied them back to the sql tab:
5bffe24e6dd9d407020135.png
5) After that, this error was displayed:
5bffe28daabe4749754413.png
How to fix it and not manually recode the necessary tables and fields?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AVKor, 2018-11-29
@AVKor

I don’t know what and how it is in Bitrix, you need to configure the server and client correctly.
Here you can read how to set it up better.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question