MATLAB DATABASE TOOLBOX RELEASE NOTES User's Guide Page 88

  • Download
  • Add to my manuals
  • Print
  • Page
    / 684
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 87
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
Page view 87
1 2 ... 83 84 85 86 87 88 89 90 91 92 93 ... 683 684

Comments to this Manuals

No comments