Pages

Gambas and Mysql

How to make connection from gambas to mysql, you can try like this way

PUBLIC konek AS NEW Connection
  PUBLIC PROCEDURE Connect()
  konek = NEW Connection
  konek.Type = "mysql"
  konek.Host = "localhost"
  konek.Login = "databaseuser"
  konek.Password = "pasword"
  konek.Name = "databasename"
  konek.Open
END
That all you need if you wanna make connection in gambas, so just try. Gambas is so easy and I think for easy than visual basic in windows

0 comments:

Post a Comment