whatisearchfor.blogspot.com — Several times I've wanted to change my MySQL data directory. First it was to run multiple instances of MySQL, which I gave up on. Then I bought an external drive to set up a portable development environment. Both times I kept running problems getting such a seemingly simple configuration change to work. Here is the solution.