Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Example Connections

This section shows some sample connection commands and explains how they work.

OpenSQLConnection[ JDBC[ "mysql",
"databases:1234/conn_test"], Username -> "test"]

In this example you connect to a MySQL database using the built-in driver, use the database running on computer named databases on port 1234, connect to the database called conn_test, and use the username test.

OpenSQLConnection[ JDBC[ "com.mysql.jdbc.Driver",
"databases:1234/conn_test"], Username -> "test"]

In this example we connect to the same MySQL database as in the previous example, but this time we use the driver com.mysql.jdbc.Driver.


Any questions about topics on this page? Click here to get an individual response.Buy NowFree TrialMore Information



 © 2009 Wolfram Research, Inc.  Terms of Use  Privacy Policy |
Sign up for our newsletter: