mysql_secure_installation — Improve MySQL Installation Security • --in-file= file_name ,  -F  file_name The name of the input file. The default is  ../share/errmsg-utf8.txt . This option was removed in MySQL 8.0.19 and replaced by the  --in-file-errlog  and  --in-file- toclient  options. The name of the input file that defines error messages intended to be written to the error log. The default is  ../share/messages_to_error_log.txt . This option was added in MySQL 8.0.19. The name of the input file that defines error messages intended to be written to clients. The default is ../share/messages_to_clients.txt . This option was added in MySQL 8.0.19. The name of the error name file. The default is  mysqld_ername.h . The name of the output base directory. The default is  ../sql/share/ . The name of the output file. The default is  errmsg.sys . Display version information and exit. This program enables you to improve the security of your MySQL installation in the following ways: mysql_secure_installation  helps you implement security recommendations similar to those described at Section 2.10.4, “Securing the Initial MySQL Account” . Normal usage is to connect to the local MySQL server; invoke  mysql_secure_installation  without arguments: When executed,  mysql_secure_installation  prompts you to determine which actions to perform. 396 mysql_secure_installation •You can remove the  test  database (which by default can be accessed by all users, even anonymous users), and privileges that permit anyone to access databases with names that start with  test_ . •You can remove anonymous-user accounts. •You can remove  root  accounts that are accessible from outside the local host. •You can set a password for  root  accounts. 4.4.2 mysql_secure_installation — Improve MySQL Installation Security • --version ,  -V • --out-file= file_name ,  -O  file_name • --out-dir= dir_name ,  -D  dir_name • --name-file= file_name ,  -N  file_name • --in-file-toclient= file_name ,  -c  file_name • --in-file-errlog= file_name ,  -e  file_name