va,
Wednesday, June 26, 2002, 10:26:01 PM, you wrote:
vk> I have installed MySQL 4.0 on Linux box using RPM. Everything is working fine, but
> the database directory is set to
vk> /var/lib/mysql. So everytime I create a database it is getting created on
vk> /var/lib/mysql. What I would like to have is to create database under
vk> /var/lib/mysql/data_dir, where as 'data-dir' stands for database directory. I
> beliebe I have to change configuration file. How can I do that... where can I find such
> configuration file for a
vk> typical installation.
You can run mysqld with --database=/path/to/dir option or specify
database=/path/to/dir in my.cnf file
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Victoria Reznichenko
/ /|_/ / // /\ \/ /_/ / /__ Victoria.Reznichenko@stripped
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ www.mysql.com