[Pharo-project] ODBC on W7 and Pharo 1.4

Torsten Bergmann astares at gmx.de
Thu Jul 26 03:20:49 EDT 2012

The below works for me with MSSQL Server

settings := DBXConnectionSettings
	host: 'NAME'
	port: ''
	database: 'MyDatabase'
	userName: 'user'
	userPassword: 'pass'.
platform := DBXOdbcBackend new.
connection := DBXConnection platform: platform settings: settings.
connection connect.
connection open.

where NAME is the name given in the ODBC control panel and MyDatabase
is the database name. Tell us if it works.


More information about the Pharo-dev mailing list