dormky 2 Posted October 21 query := TMyQuery.Create(nil); query.Connection := conn; query.SQL.Text := 'SELECT * FROM data'; query.Execute(); Every time I do something like this, a new connection to the MySQL server is established. How can I make it use the already-opened 'conn' connection ? Thanks 🙂 Share this post Link to post
TheBioh4z4rdx 0 Posted 4 hours ago try to do "query.Open" for Select statements instead of "query.Execute()" Share this post Link to post