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 October 30 try to do "query.Open" for Select statements instead of "query.Execute()" Share this post Link to post
Brian Evans 109 Posted October 31 MySQL can only have one running/open query per connection. What you are seeing is normal for MySQL. Share this post Link to post