User`s guide

2 Getting Started with Database Toolbox
2-62
Close button turns into a red circle ( ). Click it to close the database connection. If
you want to close Database Explorer and all database connections, click the Close
button ( ) in the top-right corner.
If Database Explorer is docked, click the Close button ( ) to close all database
connections and Database Explorer.
Connect to MySQL using the native ODBC connection command line.
1
Connect to the database with the ODBC data source name. For example, the
following code assumes you are connecting to a data source named MySQL with user
name username and password pwd.
conn = database.ODBCConnection('MySQL','username','pwd');
2
Close the database connection conn.
close(conn)
See Also
close | database
More About
“Working with Database Explorer” on page 4-2