Used to specify a database name that is a default source of data for SQL queries once a connection is established.
property Database: string;
Use the Database property to specify a database name that is a default source of data for SQL queries once a connection is established.
Altering Database property makes new database name take effect immediately.
Setting Database='mysql' allows you to omit database specifier in SELECT statements. That is, instead of
SELECT * FROM mysql.user;
you may just write
SELECT * FROM user