When thinking about security within MySQL you should consider a wide range of possible topics and how they might affect the security of your MySQL server and related applications.
All of the following are issues that you should be aware of:
Security of the installation itself. The data files, log files, and the all the application files of your installation should be protected to ensure that they are not readable or writable by unauthorized parties. For more information, see Chapter 2, Post-Installation Setup and Testing.
Access control and security within the database system itself, including the users and databases granted with access to the databases, views and stored programs in use within the database. For more information, see Chapter 3, The MySQL Access Privilege System, Chapter 4, MySQL User Account Management.
Network security of MySQL and your system. The security is related to the grants for individual users, but you may also wish to restrict MySQL so that is only available locally, or to a limited set of hosts.
Security of your application to ensure that SQL injections and other corruption of the data does not occur. See Chapter 1, General Security Issues.
Ensure that you have adequate and appropriate backups of your database files, configuration and log files. Also be sure that you have a recovery solution in place and test that you are able to successfully recover the information from your backups. See Chapter 5, Backup and Recovery.