Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7862641
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T23:13:13+00:00 2026-06-02T23:13:13+00:00

I have a MySQL server running on one PC (WinXP). On another PC (WinXP),

  • 0

I have a MySQL server running on one PC (WinXP).

On another PC (WinXP), I’d like to backup tables to csv files so I have a c++ program connect to the MySQL database and then I issue a command like this:

SELECT data FROM table WHERE something=ABC
INTO OUTFILE c\tmp.txt
FIELDS TERMINATED BY ';' 
OPTIONALLY ENCLOSED BY '"' LINES TERMINATED BY ";";

the data seems to get exported but on the Servers “c:\” not on my PC:s “c:\”.
I can’t just fetch the data over the LAN either as my program is running as a windows service.

I have seen this post but it seems I can’t use “FIELDS TERMINATED BY” etc. with that solution.

Can I export csv data locally from a distant server or do I have to migrate the data locally first?

Problem “solved” : As it seems you can’t do it in a ‘simple’ way, I run the service on the PC with MySQL and have a DCom server periodically move the data to the other PC.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T23:13:14+00:00Added an answer on June 2, 2026 at 11:13 pm

    Intended to be a comment (but I don’t have enough rep points to comment). Not sure if you are able to install things, but you could try using cygwin + sqsh (http://www.sqsh.org/sqsh_home.html). I’m a linux user and sqsh is a great tool for grabbing data from databases.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On my Unix web server, I have two MySQL database servers running. One on
I have the following code $env=array('PATH'=>'C:\Program Files\MySQL\MySQL Server 5.1\bin', 'PATHEXT' => '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'); $cmd='mysql --port=3306
Suppose I have MySQL server running on one machine, a Microsoft SQL Server running
I have a mysql server running on linux system. i'm already running one c++
I have a myisam only dedicated 32 GB RAM mysql server that is running
I have mysql DB on cloud linux server. I am able to connect db
I will have multiple tables used by different projects on the same mySql server.
In my production environment, I have a single instance of MySQL server running on
So the scenario is this: I have a mySQL database on a local server
I have 2 servers running one as a master and another slave. I want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.