[Gambas-user] Cannot find driver for database: postgresql

Benoit Minisini gambas at ...1...
Thu Jan 5 08:05:59 CET 2006


On Thursday 05 January 2006 05:56, Karl Martindale wrote:
>
> This fairly minimal project behaves in the same way:
>
> PUBLIC SUB Form_Open()
> DIM conn AS NEW connection
> DIM connected AS Boolean
>
> WITH conn
>          .Type = "postgresql"
>          .Host = "localhost"
>          .Login = "karl"
>          .Name = "growl"
>          '.Password = "karl"
>      END WITH
>
>      TRY conn.Open
>      IF ERROR THEN
>          Message("Failed to open DB connection." & Error.Text)
>          connected = FALSE
>      ELSE
>          connected = TRUE
>      END IF
> END
>
>

Do you have only one installation of gambas2 on your machine?

Can you send me the result of 'strace gbx2' when running this minimal project?

-- 
Benoit Minisini





More information about the User mailing list