tail -f findings.out

« Script to find longest running events in log files

Printing tabular data attractively in Python »

mysql_secure_installation: A useful first step in securing a MySQL server

This won’t be an exhaustive post on how to secure a MySQL server. I just want to mention a useful utility packaged with MySQL server: mysql_secure_installation. Simply run it from the command line once MySQL server is installed and running. It will prompt you with a series of questions, resulting in a more secure setup!

It only covers the very basics, but then you don’t need to remember those at least, and save yourself some typing to boot. Here’s what it does:

  • Set a root password. If you already have it, you’ll need to enter it for the remaining steps.
  • Remove anonymous users
  • Disable non-local root access
  • Remove the test database and access rules related to it
  • Reload privilege tables so the above changes are in effect

A quick and easy way to follow good practices.

Share and Enjoy:
  • email
  • LinkedIn
  • Slashdot
  • StumbleUpon
  • Technorati
  • Netvibes

Post to Twitter Post to Delicious Post to Digg Post to Reddit

Possibly Related (no promises):

  1. Rapidly set up a MySQL database for testing
  2. Running MySQL queries in Python
  3. Tune MySQL like a pro with MySQLTuner
  4. Creating better MySQL indexes: The basics
  5. Troubleshooting with MySQL binary logs

Related posts brought to you by Yet Another Related Posts Plugin.

Tags: , ,
April 18, 2009 - 9:55 AM
Leave a reply

Subscribe without commenting

Twitter links powered by Tweet This v1.6.1, a WordPress plugin for Twitter.