Is there a way to install mysqld via apt-get and have it a non default path for the data files?
I know I can install it with the defaults and then move stuff (I've done that) but then I have about a dozen different places I need to update things (4-5 in my.cnf, 6-8 for app-armor, and I think there was somethings else that I'm forgetting).
Edit: I'm assuming/hoping that the relevant config files are all generated at install time rather than being hard coded as static content. Assuming that, what I need is a way to have apt-get pass on the flags to adjust the variables used to specify the relevant paths.