I want using an application to access several databases. Why can't I do that ?
I use win10, Lazarus 1.8.4
TSQLconnector, dataabse Mysql 5.7 and have the correct libmysql.Dll
Here is the code
MasterQuery.Close;
MasterQuery.Close;
MasterSQLTransaction.Active := False;
DBConnection.Connected := False;
DBConnection.close(true);
DBConnection.DatabaseName := 'pmoisr';
DBConnection.HostName := 'Localhost';
DBConnection.UserName := 'root';
DBConnection.Connected := True;
DBConnection.Open;
MasterSQLTransaction.Active := True;
MasterQuery.Active := True;
There is no compile or build-error
Application pops up and closed directly.
What's wrong ?