[Gambas-user] SQL connections all failing

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


Hi, forget it, get connection wih localhost

Am 29.11.20 um 14:18 schrieb Dag Jarle Nerland Johansen - Gambas:
> 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
>
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----



More information about the User mailing list