Have you ever noticed the vast number of command line programs that ship with MySQL? Here is an ls
from MySQL 5.6.16’s bin directory:
morgo@Rbook:~/Documents/mysql-installs/5.6.16/bin$ ls innochecksum msql2mysql my_print_defaults myisam_ftdump myisamchk myisamlog myisampack mysql mysql_client_test mysql_client_test_embedded mysql_config mysql_config_editor mysql_convert_table_format mysql_embedded mysql_find_rows mysql_fix_extensions mysql_plugin mysql_secure_installation mysql_setpermission mysql_tzinfo_to_sql mysql_upgrade mysql_waitpid mysql_zap mysqlaccess mysqlaccess.conf mysqladmin mysqlbinlog mysqlbug mysqlcheck mysqld mysqld-debug mysqld_multi mysqld_safe mysqldump mysqldumpslow mysqlhotcopy mysqlimport mysqlshow mysqlslap mysqltest mysqltest_embedded perror replace resolve_stack_dump resolveip
For MySQL 5.7 we are planning to cleanup and remove programs that appear to have no current use-case. This helps us to improve supportability of MySQL as users will not be able to accidentally find themselves using a utility that has not historically been well maintained, or has outlived its original purpose. In the case of shell scripts, removal also helps us offer a better cross platform experience.
The list scheduled for removal
- msql2mysql [Shell Script]
- mysqlaccess [Perl program]
- mysqlbug [Shell script]
- mysql_zap [Shell script]
- mysql_waitpid [C program]
- mysql_convert_table_format [Perl Program]
- mysql_fix_extensions [Perl Program]
- mysql_find_rows [Perl Program]
- mysql_setpermission [Perl Program]
resolve_stack_dump [C program]
(Hat tip to Todd Farmer, who first wrote about removing these programs last year.)
Update March 12th: resolve_stack_dump
has been removed from the list.
Feedback Welcome
Are you currently using one of these utilities scheduled for removal?
Did we get a decision wrong?
We value your feedback. Please leave a comment, or get in touch!