[Gambas-user] Cannot find driver for database: postgresql
Karl Martindale
karl at ...1303...
Thu Jan 5 22:33:35 CET 2006
Hi John, Benoit, everybody,
Yes, there's only one installation of gambas2 on this machine.
The version of postgres that's running is 7.4.6
Find attached what I think is the trace you're after, I ran:
strace gbx2 &> DBTest.trace
in the project directory. The program ran and behaved 'normally'.
-Karl.
Benoit Minisini wrote:
> 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?
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DBTest.trace.gz
Type: application/x-tgz
Size: 20654 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20060106/f8f460ef/attachment.bin>
More information about the User
mailing list