mysql single database relocation

Posted by asdmin on Server Fault See other posts from Server Fault or by asdmin
Published on 2010-04-13T09:29:58Z Indexed on 2010/04/13 9:33 UTC
Read the original article Hit count: 281

Filed under:

I would like to know if it's possible to operate different databases on different filesystem locations.

Background: we are a hosting service, which hosts mysql, web, and smtp to it's customer, but all our services (sql, smtp, http) are located in a different place. We are going to assign a single logical volume to a customer, which will accommodate the customer's mailing, weppages and (hopefully) sql database. Web pages and mailing are already covered, but I am not able to find a configuration setting which would enable me to specify the location of a database (the directory where mysql stores the DB).

Let me please highlight, the target here is to relocate different databases to different locations in the filesystem, not moving them from a single place to an another (single) place.

Also please do not bother answering with soft and hard symbolic links. ;)

Thanks

© Server Fault or respective owner

Related posts about mysql