Go to the first, previous, next, last section, table of contents.


How to make MySQL secure against crackers.

To make a MySQL system secure you should think about the following:

The following options to mysqld affects security:

--secure
Check that the ip that was returned from 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
Do not use the privilege system att all. This gives everyone full access to all databases!
--skip-name-resolve
Hostnames are not resolved. All hostnames in the privilege tables must be IP-numbers or 'localhost'.
--skip-networking
Don't allow connections over the network (TCP/IP). All connections to mysqld are done with Unix sockets. This options doesn't work very good on systems that uses MIT-pthreads as MIT-pthreads doesn't support Unix sockets.


Go to the first, previous, next, last section, table of contents.