Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2004

    Question Unanswered: how can call query file?

    i hav stored some queries in one file ,
    i want execute that? how?

    eg: tables.txt

    create table sample1( myname char(10));

    create table sample2( urname char(10));


    like that.

  2. #2
    Join Date
    Jul 2004
    If you have php installed, use QLR Manager, found at It allows you to write / save and run queries (batch queries as well). In addition, it's does report formatting.

    It's a server based tool, so no client code to install.


  3. #3
    Join Date
    May 2004
    Just use the mysql command line tool, as in;

    mysql -u username -p password dbname <tables.txt
    Keith Brownlow
    ServerMetrics DB Monitoring (

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts