moving mysql data
I was moving the location of the mysql databases on my Ubuntu EC2 instance to an EBS volume. I had a little trouble. Small problem, but eventually found the solution. Did the normal things:
- Shutdown mysql
- copied the data files
- Double checked and fixed as needed the permissions
- edited the my.cnf to point at the new data location
- edited the apparmour mysql cnf
- (the part I forgot) restart apparmour
- then start up mysql server
1 comments