Reuse mysql connection in scripts

When I use the libmysqlclient library I can use the same opened connection for multiple queries. Specifically, each next query can depend on results of the previous queries (e. g. find tables, then drop one by one).

Are there any options to do like with or without the mysql command line utility (maybe with any other tools and tricks)?


There is usually another way to do something, but i think we need more from you on this.

  1. if libmysqlclient works for you, why do you not want to use it?
  2. Are you looking for a GUI, if so what OS?
  3. Are you looking to do this in a script, if so what OS/Lang?
Category: mysql Time: 2016-07-29 Views: 3

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C), All Rights Reserved.

processed in 0.252 (s). 12 q(s)