mysqldump-php icon indicating copy to clipboard operation
mysqldump-php copied to clipboard

Order table names for MariaDB-to-MySQL compatibility

Open Slamdunk opened this issue 4 years ago • 1 comments

Hi, unlike MySQL, MariaDB stores table names into INFORMATION_SCHEMA.TABLES randomly. This result in a different output on different systems.

The fix proposed is compatible with both MySQL and MariaDB, all versions included.

Slamdunk avatar Feb 03 '21 10:02 Slamdunk

Thanks @Slamdunk . I added your fix on our fork https://github.com/druidfi/mysqldump-php/pull/9

Tests now pass with MariaDB 10.6 https://github.com/druidfi/mysqldump-php/actions/runs/2953510316

back-2-95 avatar Aug 30 '22 04:08 back-2-95