MATLAB DATABASE TOOLBOX RELEASE NOTES Uživatelská příručka Strana 94

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 684
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 93
2 Getting Started with Database Toolbox
2-68
Connect to MySQL using the JDBC connection command line.
1
Use the Vendor name-value pair argument of database to specify a connection to
a MySQL database. For example, the following code assumes you are connecting
to a database named dbname on a database server named sname with user name
username and password pwd.
conn = database('dbname','username','pwd',...
'Vendor','MySQL',...
'Server','sname');
2
Close the database connection conn.
close(conn)
See Also
close | database | javaaddpath
More About
“Working with Database Explorer” on page 4-2
“Bringing Java Classes into MATLAB Workspace”
Zobrazit stránku 93
1 2 ... 89 90 91 92 93 94 95 96 97 98 99 ... 683 684

Komentáře k této Příručce

Žádné komentáře