Solved mysql CREATE

Hello gang !!

1) When I create a Mysql database with the CREATE, the default directory which the database is stored in is specified in /va/db/my.cnf.
In my case: /var/db/mysql.

2) How can I specify a different directory ?

(obviously in FreeBSD OS).

Thanks in advance.
 
Edit /usr/local/etc/my.cnf and set the right options accordingly. See /usr/local/etc/mysql/my.cnf.sample for examples on how to use it.
 
have you googled the documentation for mysql? or searched for my.cnf online?
 
have you googled

No.
I've not need to googling.
Generally I ask here my questions.

The FreeBSD Forums is the best online environment where you can find replies in real time ... and you can be sure you do not have bogus answers.
The people here are high skilled.
 
Back
Top