Here I will give a good SQL statement, it can delete the duplicate records and leave the min id reco...
Mysql master slave sync error: the slave’s relay log is corrupted
If the disk space is not enough, the mysql will not be login or the slave can't to write any data. I...
MYSQL date function: TO_DAYS() and FROM_DAYS()
1、to_days(date), change the date to a integer number days. mysql> SELECT TO_DAYS(950501); -> 728779 ...
MYSQL 8.0 ERROR:ERROR 2059: AUTHENTICATION PLUGIN ‘CACHING_SHA2_PASSWORD’ CANNOT BE LOADED
Error Message: error 2059: Authentication plugin ‘caching_sha2_password’ cannot be loaded: /usr/lib6...

Mysql partition search must scan the first partition
Mysql partition search optimization basically you should create a first partition that contains valu...