I'm trying to figure out how to backup MySQL on my Linux machine. I've never really used it before. Does anyone know the default directory where data files are kept? In order to back it up, can I just copy the data files if something goes wrong, reinstall MySQL and then copy them back over? Or is it not that simple?