# Database drivers: Connecting

**URL:** <https://forums.softvelocity.com/t/database-drivers-connecting/1635>\
**Category:** Knowledge Base\
**Tags:** database-drivers\
**Created:** [November 9, 2026, 11:38am UTC](https://forums.softvelocity.com/t/database-drivers-connecting/1635 "2026-11-09T11:38:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rzaunere](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@rzaunere](https://forums.softvelocity.com/u/rzaunere)\
**Post date:** [November 9, 2026, 11:38am UTC](https://forums.softvelocity.com/t/database-drivers-connecting/1635/1 "2026-11-09T11:38:06Z")

</div>

Part of [Database drivers: the hub](https://forums.softvelocity.com/t/database-drivers-the-hub/1652). 89 entries under this heading; every entry opens as its own topic.

- [SQL Server Express: the app connects on the LAN but not from outside](https://forums.softvelocity.com/t/sql-server-express-the-app-connects-on-the-lan-but-not-from-outside/851) - named instance vs fixed port, the quoted `"address,port"` owner string, the firewall.
- [SQL Server: the MSSQL driver or the ODBC driver?](https://forums.softvelocity.com/t/sql-server-the-mssql-driver-or-the-odbc-driver/852) - portability vs server features, what changes when switching.
- [SQL Server Express 2008: Management Studio connects, the app gets "90 File System Error:: 8001 Named pipes provider" (Reported, not reproduced)](https://forums.softvelocity.com/t/sql-server-express-2008-management-studio-connects-the-clarion-app-gets-90-file-system-error-8001-named-pipes-provider-reported-not-reproduced/853) - the `tcp:` / `np:` protocol prefix in the owner string, TCP/IP and the Browser service.
- [MSSQL: "Connection is busy with results for another hstmt (S1000)" on random tables](https://forums.softvelocity.com/t/mssql-connection-is-busy-with-results-for-another-hstmt-s1000-on-random-tables/854) - PROP:BusyHandling, set before the first OPEN.
- [A long-running stored procedure blocks every other query](https://forums.softvelocity.com/t/a-long-running-stored-procedure-blocks-every-other-query-in-the-application/855) - a connection per thread with BUSYHANDLING.
- [The owner string is a global variable: where in the program is it assigned?](https://forums.softvelocity.com/t/the-owner-string-is-a-global-variable-globalsqlconnectionstring-where-in-the-program-is-it-assigned/856) - Program Setup, before the first OPEN.
- [Oracle: how to write the owner string for the Oracle native driver](https://forums.softvelocity.com/t/oracle-how-to-write-the-owner-string-for-the-oracle-native-driver/857) - `user/password@SID_Server`, the `!variable` form, TNSPING first.
- [Installing the 32-bit Oracle ODBC driver on 64-bit Windows](https://forums.softvelocity.com/t/installing-the-32-bit-oracle-odbc-driver-on-64-bit-windows/858) - Instant Client first, SysWOW64 administrator, NLS\_LANG.
- [PostgreSQL: IM002 "data source name not found" on a new install](https://forums.softvelocity.com/t/postgresql-data-source-name-not-found-and-no-default-driver-specified-im002-on-a-new-install/859) - psqlODBC is a separate install; listen\_addresses and pg\_hba.conf.
- [Pervasive: a DSN-less owner string fails with "you attempted a dsn less connection"](https://forums.softvelocity.com/t/pervasive-a-dsn-less-owner-string-fails-with-connect-failed-because-you-attempted-a-dsn-less-connection/860) - the driver prefixes `dbq=`; put the database name first.
- [An ODBC driver that works in Access and Excel is not seen by the Clarion dictionary](https://forums.softvelocity.com/t/an-odbc-driver-that-works-in-access-and-excel-is-not-seen-by-the-clarion-dictionary/861) - Windows registers ODBC drivers, not Clarion; use the DSN.
- [MySQL via ODBC: "Could not determine the driver name so could not lookup setup library (HY000)"](https://forums.softvelocity.com/t/mysql-via-odbc-could-not-determine-the-driver-name-so-could-not-lookup-setup-library-hy000/862) - a broken MyODBC build in 2005; today a DSN whose driver name does not match.
- [MySQL 4.0 via MyODBC: Error 2 "File Not Found" when the tables are first opened](https://forums.softvelocity.com/t/mysql-4-0-via-myodbc-error-2-file-not-found-when-the-tables-are-first-opened/863) - `/VERIFYVIASELECT=TRUE`; never let a "not found" become a CREATE.
- [InterSystems Cache: how to connect a Clarion table through the ODBC driver](https://forums.softvelocity.com/t/intersystems-cache-how-to-connect-a-clarion-table-through-the-odbc-driver/864) - the dictionary settings for the Cache DSN.
- [SQL Server Compact Edition: can a Clarion application use it instead of SQL Express?](https://forums.softvelocity.com/t/sql-server-compact-edition-can-a-clarion-application-use-it-instead-of-sql-express/865) - no ODBC driver for Compact; historical, SQLite is the fit today.
- [Connecting a Clarion program to an Advantage Database Server (local and remote connection strings)](https://forums.softvelocity.com/t/connecting-a-clarion-program-to-an-advantage-database-server-local-and-remote-connection-strings/866) - one ODBC owner string per server type, DataDirectory pointing at the data dictionary.
- [Listing the MS SQL servers on a network from a Clarion program](https://forums.softvelocity.com/t/listing-the-ms-sql-servers-on-a-network-from-a-clarion-program/867) - nothing native; Windows API code (Microsoft KB 287737), a posted project showed the servers.
- [MySQL via MyODBC: "You have an error in your SQL syntax" on a one-field table (Reported, not reproduced)](https://forums.softvelocity.com/t/mysql-via-myodbc-you-have-an-error-in-your-sql-syntax-on-a-one-field-table-reported-not-reproduced/868) - run the Trace utility and post the generated SQL; the server version was not the cause.
- [Importing a MySQL table through ODBC fails, or the table arrives with no fields (Reported, not reproduced)](https://forums.softvelocity.com/t/importing-a-mysql-table-through-odbc-fails-or-the-table-arrives-with-no-fields-reported-not-reproduced/869) - BLOB and date-time columns were the suspects; the same structure imported in a C7 dictionary.
- [ODBC access to an Advantage database that has no data dictionary: setting up the DSN and importing the tables](https://forums.softvelocity.com/t/odbc-access-to-an-advantage-database-that-has-no-data-dictionary-setting-up-the-dsn-and-importing-the-tables/870) - install the vendor driver, use the 32-bit ODBC administrator, import the tables from the DSN.
- [PostgreSQL with Clarion: 32-bit or 64-bit ODBC driver?](https://forums.softvelocity.com/t/postgresql-with-clarion-32-bit-or-64-bit-odbc-driver/871) - the 32-bit psqlODBC driver, even against a 64-bit server.
- [MSSQL: after Cancel on the login window a second SQL login window appears](https://forums.softvelocity.com/t/mssql-after-cancel-on-the-login-window-a-second-sql-login-window-appears/872) - add /LOGONSCREEN=FALSE to the driver options of every table; the second window comes from another table.
- [Overriding the /TRUSTEDCONNECTION driver option at run time before connecting to MSSQL](https://forums.softvelocity.com/t/overriding-the-trustedconnection-driver-option-at-run-time-before-connecting-to-mssql/873) - declare the tables with the driver options and the owner as global variables, built before the first OPEN.
- [Importing Paradox table definitions through the MS Paradox ODBC driver gives the table name and no fields (Reported, not reproduced)](https://forums.softvelocity.com/t/importing-paradox-table-definitions-through-the-ms-paradox-odbc-driver-gives-the-table-name-and-no-fields-reported-not-reproduced/874) - other posters saw Paradox imports work on Clarion 5 and fail on 5.5; no fix was found.
- [Oracle Instant Client ODBC driver: ODBC Administrator crashes when creating a DSN, and the Clarion app crashes opening a table](https://forums.softvelocity.com/t/oracle-instant-client-odbc-driver-odbc-administrator-crashes-when-creating-a-dsn-and-the-clarion-app-crashes-opening-a-table/875) - replace Instant Client 10.2 with 11.2; the DSN could then be created.
- [PostgreSQL: log shows "No connection could be made because the target machine actively refused it" when a new browse opens (Reported, not reproduced)](https://forums.softvelocity.com/t/postgresql-log-shows-no-connection-could-be-made-because-the-target-machine-actively-refused-it-when-a-new-browse-opens-reported-not-reproduced/876) - the thread offered an address range, a timeout and the server log as leads; no cause was found.
- [MSSQL encrypted columns: Clarion shows the encrypted data although Management Studio shows plain text (Reported, not reproduced)](https://forums.softvelocity.com/t/mssql-encrypted-columns-clarion-shows-the-encrypted-data-although-management-studio-shows-plain-text-reported-not-reproduced/877) - the thread points to an ODBC 13 driver with `ColumnEncryption=Enabled` in the driver string; the steps are in another newsgroup, and EncryptByPassPhrase in the SQL was the other route.
- [PostgreSQL ODBC driver installed but not visible in the ODBC Data Source Administrator on Windows 7](https://forums.softvelocity.com/t/postgresql-odbc-driver-installed-but-not-visible-in-the-odbc-data-source-administrator-on-windows-7/878) - the driver is on the Drivers tab, not among the data sources; the 32-bit driver list is in `C:\Windows\SysWOW64\ODBCAD32.EXE`.
- [MS SQL: switching the application to another database at run time (one database per fiscal year)](https://forums.softvelocity.com/t/ms-sql-switching-the-application-to-another-database-at-run-time-one-database-per-fiscal-year/879) - put a variable in the OWNER attribute, close every open table, then assign the new connection string; PROP:Disconnect also worked.
- [FM3 "Unable to interpret SQL structure": Invalid object name 'SYS.COLUMNS' (S0002)](https://forums.softvelocity.com/t/fm3-unable-to-interpret-sql-structure-invalid-object-name-sys-columns-s0002/880) - read as a permission problem on the sys.columns view for the login; the poster fixed it by removing and reinstalling the dev server update.
- [SQL Server not reachable at start-up: error 08001, then a MESSAGE or STOP locks up the program](https://forums.softvelocity.com/t/sql-server-not-reachable-at-start-up-error-08001-then-a-message-or-stop-locks-up-the-program/881) - a MESSAGE or STOP wrote to the MessageBox log, which was a SQL table, with the server down; use a plain error window and RETURN.
- [ODBC: Prop:Disconnect in the CloseWindow embed gives an access violation in some apps and not in others](https://forums.softvelocity.com/t/odbc-prop-disconnect-in-the-closewindow-embed-gives-an-access-violation-in-some-apps-and-not-in-others/882) - do not disconnect in the CloseWindow embed; put Prop:Disconnect in the Window Kill embed at priority 7300 or higher, after the files are closed.
- [ODBC: the dictionary cannot browse or convert a SQL table, the IDE freezes or the generated project cannot load odbc.dll](https://forums.softvelocity.com/t/odbc-the-dictionary-cannot-browse-or-convert-a-sql-table-the-ide-freezes-or-the-generated-project-cannot-load-odbc-dll/883) - the IDE still needs the old 16-bit odbc.dll (53,200 bytes, dated 1993) where it can find it; browse and convert then worked.
- [ODBC: Sage 50 data, switching between companies without editing the DSN](https://forums.softvelocity.com/t/odbc-sage-50-data-switching-between-companies-without-editing-the-dsn/884) - use a DSN-less connection string in a global variable named in the Owner Name (`!GLO:ConnectionString`), built before the first ODBC table opens.
- [ODBC to an Access .mdb works as an exe but stalls when the exe runs as a service](https://forums.softvelocity.com/t/odbc-to-an-access-mdb-works-as-an-exe-but-stalls-when-the-exe-runs-as-a-service/885) - a service cannot see mapped drives; use a full UNC path in the connection and the ODBC connection worked.
- [PostgreSQL through ODBC: can one app use several databases at the same time (Common, Financial, one per company)?](https://forums.softvelocity.com/t/postgresql-through-odbc-can-one-app-use-several-databases-at-the-same-time-common-financial-one-per-company/886) - yes, give each file the connection string of its database in the owner variable; use one string and a database.schema.table name when joins across areas are needed.
- [MSSQL: "Login failed for user 'Servername\Guest'" after moving an app from SQL 2008 to a SQL 2012 server](https://forums.softvelocity.com/t/mssql-login-failed-for-user-servername-guest-after-moving-an-app-from-sql-2008-to-a-sql-2012-server/887) - do not combine TrustedConnection with SQL authentication; use ServerName\InstanceName with a user and password, and set the global connection string very early.
- [Can the Clarion native MSSQL driver use MS SQL Express 64-bit?](https://forums.softvelocity.com/t/can-the-clarion-native-mssql-driver-use-ms-sql-express-64-bit/888) - yes, any 64-bit Express release; the client machines still need a 32-bit ODBC driver.
- [MySQL through ODBC: "unable to find odbc 3.51 driver" although the 3.51 driver is installed (Reported, not reproduced)](https://forums.softvelocity.com/t/mysql-through-odbc-unable-to-find-odbc-3-51-driver-although-the-3-51-driver-is-installed-reported-not-reproduced/889) - the posters answered the connection settings (server name, account, privileges) rather than the message, and one described taking the connect string from a working imported table; no cause was found.
- [Firebird / Interbase through ODBC: the dictionary import hangs with the open source ODBC driver (Reported, not reproduced)](https://forums.softvelocity.com/t/firebird-interbase-through-odbc-the-dictionary-import-hangs-with-the-open-source-odbc-driver-reported-not-reproduced/890) - no poster named the cause; one saw beta 2 of the driver work "almost fine", slowly, with decimals imported as PDECIMAL or DECIMAL.
- [PostgreSQL ODBC: what goes in the Server box for a LAN server, and "Could not connect to the server; connect failed for [address:5432]"](https://forums.softvelocity.com/t/postgresql-odbc-what-goes-in-the-server-box-for-a-lan-server-and-could-not-connect-to-the-server-connect-failed-for-address-5432/891) - put the IP address or name of the machine running the engine in the Server entry, then check port 5432, the firewall and that PostgreSQL accepts remote connections.
- [Changing a dictionary from MS SQL to PostgreSQL: the ODBC driver, the connect string, and the schema trap](https://forums.softvelocity.com/t/changing-a-dictionary-from-ms-sql-to-postgresql-the-odbc-driver-the-connect-string-and-the-schema-trap/892) - use the ODBC driver with a PostgreSQL connect string whose driver name matches the ODBC administrator exactly, and mind the schemas.
- [MSSQL: an application running as a Windows service with SQL Server on Windows Authentication - which account?](https://forums.softvelocity.com/t/mssql-an-application-running-as-a-windows-service-with-sql-server-on-windows-authentication-which-account/893) - a poster ran such a service with an administrator account (not LocalSystem) over TCP/IP; on different hardware give it a domain account with rights on the SQL Server.
- [MSSQL driver: "File access error: specified SQL server not found. (08001)" on a few clients only (Reported, not reproduced)](https://forums.softvelocity.com/t/mssql-driver-file-access-error-specified-sql-server-not-found-08001-on-a-few-clients-only-reported-not-reproduced/894) - ping, subnet, firewall and port 1433 were all fine; enabling the guest account and the domain and DNS checks were asked about; no cause was posted.
- [MSDE: which ports must be open besides 1344 for full database communication?](https://forums.softvelocity.com/t/msde-which-ports-must-be-open-besides-1344-for-full-database-communication/895) - the default install used TCP 1433; a named instance also needs UDP 1434, which worked for the poster.
- [Excel through ODBC: "Syntax error in FROM clause (37000)" when a browse loads a sheet (Reported, not reproduced)](https://forums.softvelocity.com/t/excel-through-odbc-syntax-error-in-from-clause-37000-when-a-browse-loads-a-sheet-reported-not-reproduced/896) - the error comes from the Excel driver answering the SQL Clarion generated; read it in a driver trace; sheets act as separate tables; no fix was posted.
- [MySQL over ODBC on a remote server: constant "file not open" errors, "MySQL server has gone away (08S01)"](https://forums.softvelocity.com/t/mysql-over-odbc-on-a-remote-server-constant-file-not-open-errors-mysql-server-has-gone-away-08s01/897) - test for errorcode 90 with FILEERRORCODE() of '08S01' before database access and retry the OPEN.
- [PostgreSQL: is a session opened per table or per application, and is it harmful to allow 500 or 1,000?](https://forums.softvelocity.com/t/postgresql-is-a-session-opened-per-table-or-per-application-and-is-it-harmful-to-allow-500-or-1-000/898) - a session is a connection; Clarion reuses one while the connection string stays identical, so the count follows the connection strings, not the tables.
- [PostgreSQL: dictionary import brings in tables without fields or keys (Reported, not reproduced)](https://forums.softvelocity.com/t/postgresql-dictionary-import-brings-in-tables-without-fields-or-keys-reported-not-reproduced/899) - use Synchronize rather than importing each table; the poster said it failed and then worked, without saying what changed.
- [Pervasive table imported through ODBC: the dictionary browse crashes and the app reports error 47 (Reported, not reproduced)](https://forums.softvelocity.com/t/pervasive-table-imported-through-odbc-the-dictionary-browse-crashes-and-the-app-reports-error-47-reported-not-reproduced/900) - a second poster got the same and stopped using the ODBC import for Pervasive; the Pervasive Control Center reached the file but did not answer how to connect the Clarion app; no cause was found.
- [ODBC to PostgreSQL: the app prompts for a data source although the Owner string is set](https://forums.softvelocity.com/t/odbc-to-postgresql-the-app-prompts-for-a-data-source-although-the-owner-string-is-set/901) - check that the variable you fill is the one the Owner names (the poster had filled a look-alike global); for a DSN put only `DSN=mydsn`; a DSN-less string with the driver name works too.
- [PostgreSQL: cannot connect to the local server after changing the security software](https://forums.softvelocity.com/t/postgresql-cannot-connect-to-the-local-server-after-changing-the-security-software/902) - suspect the firewall or the security suite and open the PostgreSQL port; try turning SSL off, psql on the command line, and check pg\_hba.conf.
- [MSSQL driver: how to switch the connection string to Windows authentication](https://forums.softvelocity.com/t/mssql-driver-how-to-switch-the-connection-string-to-windows-authentication/903) - remove the user id and password, keep `Server,database` first and add `;Trusted_Connection=YES;` with the trailing semicolon; further ODBC key-value pairs follow the same way.
- [MySQL via ODBC: "no datasource found" when the program runs from a mapped network drive on another computer](https://forums.softvelocity.com/t/mysql-via-odbc-no-datasource-found-when-the-program-runs-from-a-mapped-network-drive-on-another-computer/904) - create the data source on every machine, with the ODBC 3.51 driver, the server's IP number and the same name everywhere; the poster found this himself.
- [ODBC: making the ODBC connection at run time when a new user has no data source yet - leave the owner empty and the driver asks](https://forums.softvelocity.com/t/odbc-making-the-odbc-connection-at-run-time-when-a-new-user-has-no-data-source-yet-leave-the-owner-empty-and-the-driver-asks/905) - declare the file with an OWNER attribute that names an empty string variable; on OPEN the driver asks the user for the data source; the poster did not report back.
- [MySQL: importing a table into the dictionary fails with "Invalid Field Type descriptor" (Reported, not reproduced)](https://forums.softvelocity.com/t/mysql-importing-a-table-into-the-dictionary-fails-with-invalid-field-type-descriptor-reported-not-reproduced/906) - the tinyblob columns were suspected and changing them to blob did not help; a SoftVelocity poster imported the same table without trouble; the cause was never named.
- [Firebird: a DSN-less connection string would not open the table (DBANAME instead of DBNAME)](https://forums.softvelocity.com/t/firebird-a-dsn-less-connection-string-would-not-open-the-table-dbaname-instead-of-dbname/907) - spell the keyword DBNAME; back slashes in the database file name were also suggested, and the poster reported only the keyword change.
- [PostgreSQL over ODBC: "record was changed by another station" only on rows converted from TPS (add LFConversion=0)](https://forums.softvelocity.com/t/postgresql-over-odbc-record-was-changed-by-another-station-only-on-rows-converted-from-tps-add-lfconversion-0/908) - Rows converted from TPS gave "record changed by another station" on update; adding LFConversion=0 to the ODBC connection string fixed it for the poster.
- [Reading AS/400 files from Clarion: the Client Access ODBC driver; the other direction is open](https://forums.softvelocity.com/t/reading-as-400-files-from-clarion-the-client-access-odbc-driver-the-other-direction-is-open/909) - Read AS/400 files directly through the ODBC driver that comes with Client Access; for the AS/400 reaching PC files, one poster suggested a NetTalk web server.
- [MySQL: "the MySQL database has gone away" after the application sits idle or the laptop sleeps](https://forums.softvelocity.com/t/mysql-the-mysql-database-has-gone-away-after-the-application-sits-idle-or-the-laptop-sleeps/910) - Raise the server's wait\_timeout, run a keep-alive query every 30 seconds, or retry the OPEN when error 90 with FILEERRORCODE 08S01 appears; a keep-alive query did not survive laptop hibernation.
- [SQL Server 2000 over a direct IP connection and a 48 Kbps dial-up line: a minute to connect, minutes between procedures](https://forums.softvelocity.com/t/sql-server-2000-over-a-direct-ip-connection-and-a-48-kbps-dial-up-line-a-minute-to-connect-minutes-between-procedures/911) - Over a slow remote line cut client-server traffic: filter or limit browses, move work to views and stored procedures, load queues; do not compare with ASP.
- [ODBC to Access without a DSN: putting the connection string in a variable on the table's OWNER](https://forums.softvelocity.com/t/odbc-to-access-without-a-dsn-putting-the-connection-string-in-a-variable-on-the-tables-owner/912) - Put a full ODBC connection string for the Access driver in a variable on the table's Owner, fill it before the OPEN, and no DSN is needed.
- [QODBC (QuickBooks) over ODBC: the connection seems to be lost between calls and the driver window pops up each time (Reported, not reproduced)](https://forums.softvelocity.com/t/qodbc-quickbooks-over-odbc-the-connection-seems-to-be-lost-between-calls-and-the-driver-window-pops-up-each-time-reported-not-reproduced/913) - A QODBC session seemed to restart on every call; one poster suspected two LOGOUTs make Clarion open a second connection; no outcome posted.
- [MySQL tables imported through ODBC give "right truncation (01004)" in a browse (Reported, not reproduced)](https://forums.softvelocity.com/t/mysql-tables-imported-through-odbc-give-right-truncation-01004-in-a-browse-reported-not-reproduced/914) - Right truncation on imported MySQL tables was read as a type mismatch (char/varchar, decimals, nchar, BYTE); keys need not match indexes; no outcome posted.
- [PostgreSQL over ODBC: a browse leaves a cursor open for hours or days and VACUUM never completes (Reported, not reproduced)](https://forums.softvelocity.com/t/postgresql-over-odbc-a-browse-leaves-a-cursor-open-for-hours-or-days-and-vacuum-never-completes-reported-not-reproduced/915) - A page-access browse keeps a cursor open and blocks VACUUM; a timer, PROP:Disconnect or a read-only cursor were suggested; no outcome posted.
- [MS SQL over a VPN: "table can not be opened ... network error" while Btrieve and TPS apps work (Reported, not reproduced)](https://forums.softvelocity.com/t/ms-sql-over-a-vpn-table-can-not-be-opened-network-error-while-btrieve-and-tps-apps-work-reported-not-reproduced/916) - An MS SQL app failed over a VPN while Btrieve and TPS worked; ping, the dbnetlib library, bandwidth and a query trace were suggested, with no cause posted.
- [Report Writer (RW) cannot reach a SQL Server database: it is 16-bit, and the posters advised Crystal Reports](https://forums.softvelocity.com/t/report-writer-rw-cannot-reach-a-sql-server-database-it-is-16-bit-and-the-posters-advised-crystal-reports/917) - Report Writer is 16-bit and suits ISAM files; for SQL Server or MySQL data the posters advised using Crystal Reports instead.
- [Synchronizing a dictionary with MySQL: the DMC clone script fails with "No database selected" (Reported, not reproduced)](https://forums.softvelocity.com/t/synchronizing-a-dictionary-with-mysql-the-dmc-clone-script-fails-with-no-database-selected-reported-not-reproduced/918) - Cloning a TPS table to MySQL with the Data Management Center failed with "No database selected" although the ODBC test passed; no outcome was posted.
- [MySQL via ODBC: "Access denied for user ... (Using password: YES)" although the user and password are right](https://forums.softvelocity.com/t/mysql-via-odbc-access-denied-for-user-using-password-yes-although-the-user-and-password-are-right/919) - MySQL rejects the user because accounts are tied to a host; check the host column in the user table, then GRANT for that host and FLUSH PRIVILEGES.
- [PostgreSQL from Clarion without ODBC: is there a native driver?](https://forums.softvelocity.com/t/postgresql-from-clarion-without-odbc-is-there-a-native-driver/920) - In 2007 there was no native PostgreSQL driver; use an ODBC driver, or write your own interface against the PostgreSQL client library.
- [ODBC: how to see the connection string the driver actually uses (Pervasive example)](https://forums.softvelocity.com/t/odbc-how-to-see-the-connection-string-the-driver-actually-uses-pervasive-example/921) - Neither trace showed the string; a third-party ODBC tracing tool did, or build it from a DSN or File DSN and paste it into the table Owner.
- [MS SQL: the Microsoft SQL driver or ODBC, and which SQL Server driver version to name in the owner string](https://forums.softvelocity.com/t/ms-sql-the-microsoft-sql-driver-or-odbc-and-which-sql-server-driver-version-to-name-in-the-owner-string/922) - Name the driver that matches the server in the owner string; posters advised Native Client 10 for SQL 2008 and saw no benefit in the accelerator over ODBC.
- [MySQL ODBC 3.51 driver versus ODBC 5: any speed difference, and DSN or no DSN?](https://forums.softvelocity.com/t/mysql-odbc-3-51-driver-versus-odbc-5-any-speed-difference-and-dsn-or-no-dsn/923) - Two posters saw no speed difference between the MySQL ODBC 3.51 and 5 drivers and preferred DSN-less connections as easier to set in code.
- [MSSQL: connecting to a new, empty database without a table to open (a utility that creates the structures)](https://forums.softvelocity.com/t/mssql-connecting-to-a-new-empty-database-without-a-table-to-open-a-utility-that-creates-the-structures/924) - Open a dummy file on a system table, or use TURBOSQL on the master database; the poster used CREATE() on a one-field table, then PROP:SQL.
- [MSSQL on 64-bit Windows 7: a multi-DLL app hangs when the connection is made in the data DLL (use the server's IP address)](https://forums.softvelocity.com/t/mssql-on-64-bit-windows-7-a-multi-dll-app-hangs-when-the-connection-is-made-in-the-data-dll-use-the-servers-ip-address/925) - A multi-DLL app hung connecting from Windows 7 64-bit with login timeout S1T00; using the server's IP address instead of its name cured it.
- [MSSQL driver options that stop the "busy" errors: BUSYHANDLING=2 on every table, including dummy files](https://forums.softvelocity.com/t/mssql-driver-options-that-stop-the-busy-errors-busyhandling-2-on-every-table-including-dummy-files/926) - Set BUSYHANDLING=2 on every table including dummy PROP:SQL files, leave MARS and fixed retry counts out; a service still blocked at two sites.
- [NexusDB through ODBC: the table imports, then the app reports an invalid record declaration and no index imports (Reported, not reproduced)](https://forums.softvelocity.com/t/nexusdb-through-odbc-the-table-imports-then-the-app-reports-an-invalid-record-declaration-and-no-index-imports-reported-not-reproduced/927) - A NexusDB table imported through ODBC gave an invalid record declaration and no indexes; the Synchronizer and a Clarion 5.5 import were suggested, with no outcome posted.
- [SQL Server 2005 Express: the ODBC data source is refused with "remote connection" or "does not exist or access denied"](https://forums.softvelocity.com/t/sql-server-2005-express-the-odbc-data-source-is-refused-with-remote-connection-or-does-not-exist-or-access-denied/928) - An ODBC data source to SQL Server 2005 Express was refused until Local and Remote connections were enabled in the Surface Area Configuration tool; also check TCP/IP, the port and the firewall.
- [Reading an .SDF file (a Pocket PC SQL Server CE database) from Clarion](https://forums.softvelocity.com/t/reading-an-sdf-file-a-pocket-pc-sql-server-ce-database-from-clarion/929) - An .SDF from a Pocket PC is a SQL Server CE database; the one route offered was a third-party tunnel tool that lets the desktop query the device.
- [Testing whether a SQL database is available before opening a table](https://forums.softvelocity.com/t/testing-whether-a-sql-database-is-available-before-opening-a-table/930) - Test the open with TryOpen before the generated open files code, set /LOGONSCREEN=FALSE on each file, and skip the generated error and HALT path.
- [Firebird through ODBC over TCP/IP: what to put in the DSN as the database name](https://forums.softvelocity.com/t/firebird-through-odbc-over-tcp-ip-what-to-put-in-the-dsn-as-the-database-name/931) - Name the remote Firebird database as servername:drive:\path\file.fdb with the path as the server sees it, or define an alias in aliases.conf and use servername:alias.
- [Firebird through ODBC over an ADSL line is very slow: a tunnel was suggested](https://forums.softvelocity.com/t/firebird-through-odbc-over-an-adsl-line-is-very-slow-a-tunnel-was-suggested/932) - Remote Firebird over ADSL was very slow; a tunnel (openssh/putty or zebedee) that encrypts and compresses was suggested, with the DSN pointed at localhost.
- [MS Access through ODBC: "File not found (2)" on a table with an underscore in its name - it was a typo](https://forums.softvelocity.com/t/ms-access-through-odbc-file-not-found-2-on-a-table-with-an-underscore-in-its-name-it-was-a-typo/933) - File not found error 2 on an Access table with an underscore ended as a typo in the poster's project; underscores in table and file names worked for another poster on Clarion 6.
- [PostgreSQL ODBC: an access violation after about 500 repeats of the same code in a new thread (Reported, not reproduced)](https://forums.softvelocity.com/t/postgresql-odbc-an-access-violation-after-about-500-repeats-of-the-same-code-in-a-new-thread-reported-not-reproduced/934) - An access violation after about 500 repeats stayed unsolved; the driver name changed between ODBC driver versions 8.04.01 and 8.04.02, which explained one connection-string difference.
- [SQL Server: "File dbo.PM10100 could not be opened. Error: General error: invalid window handle (S1000)" on a client PC](https://forums.softvelocity.com/t/sql-server-file-dbo-pm10100-could-not-be-opened-error-general-error-invalid-window-handle-s1000-on-a-client-pc/935) - S1000 invalid window handle on open was caused, in the poster's case, by the application calling a non-existent DLL; ports, firewall, credentials and ODBC driver were the first checks suggested.
- [MS SQL through ODBC without a DSN: the owner string for a remote server, the port, and the client alias](https://forums.softvelocity.com/t/ms-sql-through-odbc-without-a-dsn-the-owner-string-for-a-remote-server-the-port-and-the-client-alias/936) - A DSN-less ODBC string for a remote SQL Server uses the TCP/IP network library; name the port in the string or add a client alias in the Client Network Utility.
- [Creating tables from the dictionary on SQL Express fails with "Driver Error (1):(10) ODBC.DLL could not be started" (Reported, not reproduced)](https://forums.softvelocity.com/t/creating-tables-from-the-dictionary-on-sql-express-fails-with-driver-error-1-10-odbc-dll-could-not-be-started-reported-not-reproduced/937) - Creating tables from the dictionary on SQL Express gave an ODBC.DLL could not be started error; posters suggested a blank database first, a checked owner string, or an import.
- [Excel through the ODBC driver: a file made by the driver can be read, but a file made in Excel cannot (Reported, not reproduced)](https://forums.softvelocity.com/t/excel-through-the-odbc-driver-a-file-made-by-the-driver-can-be-read-but-a-file-made-in-excel-cannot-reported-not-reproduced/938) - An Excel-made file would not read through the ODBC driver; posters suggested named ranges, the sheet name followed by a dollar sign, and quoted column names; no outcome.
- [Converting a large TPS application to MS SQL: procedures disappear when the dictionary changes - keep one dictionary and change the driver](https://forums.softvelocity.com/t/converting-a-large-tps-application-to-ms-sql-procedures-disappear-when-the-dictionary-changes-keep-one-dictionary-and-change-the-driver/939) - Keep the original dictionary and just change its driver; a new dictionary needs a TXA without idents; set BusyHandling before connecting; wrap dates in a group.
