To make a MySQL system secure you should think about the following:
mysql_install_db script or
only for the MySQL root user with:
mysql -u root -e "update user set password=password('new_password')
where user='root'" mysql
SELECT INTO OUTFILE
are generated readable by all and one can't overwrite existing files.
The following options to mysqld affects security:
--secure
get_hostbyname resolves
back to the original hostname. This is done to make it harder for
someone on the outside to get access by simulating another host.
This options also adds some sanity checks of hostnames.
This is turned off by default since it sometimes takes a long time to check this.
--skip-grant-tables
--skip-name-resolve
--skip-networking
Go to the first, previous, next, last section, table of contents.