Main Content

Configure Environment

Driver and data source configuration

Configure a data source depending on the database environment. Decide between using an ODBC and JDBC driver. Then, find the configuration instructions based on your operating system and database. You can configure data sources using the appropriate dialog box in the Database Explorer app. Configure an ODBC data source using the ODBC Data Source Administrator dialog box. Configure a JDBC data source using the JDBC Data Source Configuration dialog box or the command line.

For high-level information about using Database Toolbox™, see Access Relational Database Data in MATLAB. To get started by exploring data visually, use the Database Explorer app.

Apps

Database ExplorerConfigure, explore, and import database data

Objects

SQLConnectionOptionsDefine JDBC database connection options

Functions

expand all

configureODBCDataSourceOpen ODBC Data Source Administrator dialog box
databaseConnectionOptionsCreate database connection options
resetReset JDBC connection options to defaults
rmoptionsRemove JDBC connection options
setoptionsSet JDBC connection options
testConnectionTest JDBC database connection
saveAsDataSourceSave JDBC data source
deleteDataSourceDelete data source
listDataSourcesList all available data sources

Topics

Database Environment

Windows ODBC

Windows JDBC

Mac JDBC

Linux ODBC

Linux JDBC

Other Databases

Related Information