@aradeonas
How connect to MySQL database without database name with sqldb
You can't! Fortunately "information_schema" is always present. It holds details about all the other databases on the server such as the names and types of tables, columns and users. So you connect to "information_schema" then execute whatever query you like:
procedure TForm1.Button1Click(Sender: TObject);
begin
MySQL55Connection1.UserName := '';
MySQL55Connection1.Password := '';
MySQL55Connection1.DatabaseName := 'information_schema';
MySQL55Connection1.HostName := 'localhost';
//...
MySQL55Connection1.Connected := True;
MySQL55Connection1.ExecuteDirect('DROP DATABASE TEST');
SQLTransaction1.CommitRetaining;
end;