Hello everyone!
We currently have a webstite running on a Centos 7.7 server with MySQL 5.7 and we want to upgrade it to MySQL 8.0. We used the checker beforehand to see if our database can bear it, but we encontered those warnings about utf8mb4 :
So i get that i have to convert all my databases/tables/columns who are using utf8mb3 to utf8mb4 for improved unicode. But that means going through 250* columns who needs to be modified. For this website a can manage it, but i have the same issue for another server wich is more about 7000 modifications.
So here are my questions : what are the benefits of the use of utf8mb4 instead of utf8mb3? Is it mandatory to have a fonctionnal website? Is there any possibilities to automate it? Will my website explode if i don't convert all thoses tables/columns?
Also, it's a minor thing but i have another question about NO_ZERO_IN_DATE and NO_ZERO_DATE mode with this warning message :
All my tables are in InnoDB and i tought that issue where already fixed by the use of InnoDB, maybe i'm not aware of what that's impliying for my databases. Can someone give me some explanation about that?
Thank you a lot in advance.
We currently have a webstite running on a Centos 7.7 server with MySQL 5.7 and we want to upgrade it to MySQL 8.0. We used the checker beforehand to see if our database can bear it, but we encontered those warnings about utf8mb4 :
Code:
Usage of utf8mb3 charset
Warning: The following objects use the utf8mb3 character set. It is
recommended to convert them to use utf8mb4 instead, for improved Unicode
support.
So here are my questions : what are the benefits of the use of utf8mb4 instead of utf8mb3? Is it mandatory to have a fonctionnal website? Is there any possibilities to automate it? Will my website explode if i don't convert all thoses tables/columns?
Also, it's a minor thing but i have another question about NO_ZERO_IN_DATE and NO_ZERO_DATE mode with this warning message :
Code:
By default zero date/datetime/timestamp values are no longer allowed
in MySQL, as of 5.7.8 NO_ZERO_IN_DATE and NO_ZERO_DATE are included in
SQL_MODE by default. These modes should be used with strict mode as they will
be merged with strict mode in a future release. If you do not include these
modes in your SQL_MODE setting, you are able to insert
date/datetime/timestamp values that contain zeros. It is strongly advised to
replace zero values with valid ones, as they may not work correctly in the
future.
Thank you a lot in advance.