ODBC (genérico) with DBine
How to connect DBine to ODBC (genérico) and what you can do once it's connected. This page is written from what the ODBC (genérico) driver says about itself, so it matches the version of DBine you download.
Connect
- In DBine, open New connection.
- Pick ODBC (genérico) in the list of engines.
- Fill in the fields below, press Test connection and then Save.
General
| Field | Description |
|---|---|
| DSN | A data source defined in odbc.ini (or in the Windows ODBC Data Source Administrator). Leave it empty if you use a connection string. Example: MyDataSource |
| Connection string | Used as is and takes precedence over the DSN. Stored in the keychain because it usually contains the password. Example: DRIVER={ODBC Driver 18 for SQL Server};SERVER=host,1433;UID=user;PWD=… |
| User | If filled in, it's added as UID. |
| Password | If filled in, it's added as PWD. Kept in the system keychain, never in DBine's files. |
| Catalog | Catalog to switch to after connecting. |
| Read-only | On or off. |
Advanced
| Field | Description |
|---|---|
| Script sending | How a script is sent to the server. If the engine accepts several statements per request, “All text at once” keeps blocks such as BEGIN … END intact. Options: One statement at a time (separated by ;), Blocks separated by GO, All the text at once Default: One statement at a time (separated by ;) |
| ODBC library | Path to the ODBC driver manager (libodbc.2.dylib, libodbc.so.2 or odbc32.dll), only if it isn't found in the usual paths. A file on this computer. |
What the explorer shows
Under the connection: Catalogs, each with its schemas. Inside each one:
- Tables
- Views
- Procedures
- Functions
Query editor
The editor uses SQL, with completion for the connection's objects. Statements and commands run against the database selected in the tab.
Ready-made templates for new objects:
- New view
Tools for ODBC (genérico)
Available
- Graphical execution plans
- Server monitor
- Manual transactions (commit and rollback)
- Index usage
- Create databases
- Drop databases
- Relations in the ER diagram
- Visual designer for new objects
- Compare and sync schemas
- Native bulk load when migrating data
Not available for ODBC (genérico)
- Live query profiler
- Sessions and running queries
- End a session
- Locks: who blocks whom
- Cancel another session's query from the sessions list
- Database properties
- Rename objects
- Clone tables
- Users and permissions
- Backups
Why a tool doesn't apply to an engine, and the details of each one, are in the engine support reference.
Generated from the ODBC (genérico) driver 0.1.11, which DBine downloads the first time you connect to ODBC (genérico).