Paul DuBois <paul@stripped> wrote:
>>Is it possible to tell mysql to create the directory for a database in a
>>specified directory rather than in mysql's "data" directory?
> No.
>
> You can create the database, then (with the server down) move it
> where you want it and create a symlink in the original location
> that points to the new location.
Yes. But if you want to create a table in a separate location, you can:
http://dev.mysql.com/doc/mysql/en/CREATE_TABLE.html
Search for "DATA DIRECTORY".
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Egor Egorov
/ /|_/ / // /\ \/ /_/ / /__ Egor.Egorov@stripped
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ www.mysql.com