How to create database not in the default folder?

admin

Administrator
Staff member
Hi, I'm Denise.

When I create a database, it will automatically stored in the MySQL folder:
usr/local/mysql/var/

How can I create a database not in this folder, for example:
usr/local/apache/htdocs/denise/

using mysql_create_db()?

Please help me and thanks.


Denise
 
Back
Top