[Gambas-user] SQL connections all failing

Dag Jarle Nerland Johansen - Gambas gambas at cd-bahia.com
Sun Nov 29 14:18:55 CET 2020


Hi,
suddenly none of my sql-connections work any more,
Manually with same login-data no problem to access.
Haven't changed a thing in the source of the connection to MySQL.
But whether on localhost (my pc of course) nor on the server from my 
web-provider I don't get access via Gambas.
I wasn't aware of some updates from Gambas lately either, so I am confused.

Ubuntu Mate 18.04.5
Gambas 3.15.2 (http://ppa.launchpad.net/gambas-team/gambas3/ubuntu)

source for connection,
   Try $Con.Close() ' Close the connection
   $Con.Type = "mysql"       ' Type of connection
   $Con.Host = "server..." ' Name of the server
   $Con.Name = "wdb..." ' Name of the database we want to use
   $Con.Login = "wuse.." ' User's name for the connection
   $Con.Port = "3306" ' Port to use in the connection, usually 3306
   $Con.Password = "pwd"
   $Con.Open

Regards,
Dag




More information about the User mailing list