Hi all, I downloaded a Pharo 2.0 image and wanted to connect my local PostgreSQL database.
For Pharo 1.4 I used *Gofer new * * squeaksource: 'MetacelloRepository';* * package: 'ConfigurationOfGlorpDBX';* * load. * *ConfigurationOfGlorpDBX project latestVersion load: 'GlorpPostgresV2NativeWithTests* and went from there. First I tried doing the same in Pharo 2.0, but that "ended" in a endless loop. So I loaded the packages found here: http://smalltalkhub.com/#!/~DBXTalk/Glorp/ I then tried to connect to my database in the following way: *login := Login new* * database: PostgreSQLPlatform new;* * username: 'user';* * password: 'pwd';* * host: 'localhost';* * databaseName: 'db-name'.* *accessor := PharoDatabaseAccessor forLogin: login.* *accessor login.* But I got an error: *receiver of new is nil * in: *PharoDatabaseAccessor>>**loginIfError: aBlock * * self log: 'Login'.* * self databaseDriver: self connectionClass new.* *...* Whats would be the correct way to connect and use a psql db from Pharo 2.0? Cheers, Dennis
