Hi,
is possible create a database Mysql at runtime with Mydac .
Tenks.
Sergio
Create a database at runtime
To create a database you should use the 'CREATE DATABASE' statement, like this:
After this you can set the Database property to the new database name.
Code: Select all
MyConnection.ExecSQL('CREATE DATABASE database_name', []);