[Gambas-user] Extracting fields from a Result

T Lee Davidson t.lee.davidson at gmail.com
Tue Jan 2 17:41:37 CET 2018


On 01/02/2018 12:18 AM, Doug Hutcheson wrote:
> Hi Lee. Nope, it does not help with the Connections problem. My Connections tool correctly shows all my tables and browses my
> data, but attempting to use a Connection with a Datasource control and giving it a tablename visible in the Connections tool,
> causes the error "Cannot open database: fe_sendauth: no password supplied".

It's not just PostgreSQL. It happens to me with and IDE-defined MySQL Connection.

When I run a simple test program, I get, "Cannot open database:" - no reason given. I believe that error message, in the case of
MySQL, is generated by line 775 of gb.db.mysql.
(https://gitlab.com/gambas/gambas/blob/master/gb.db.mysql/src/main.c#L775)

The 'Local variables' tab shows "hConn (Connection 0xss6faa8)". Examining that object by double-clicking it shows that the
Password property is empty.


-- 
Lee


More information about the User mailing list