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 3310664
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T21:47:09+00:00 2026-05-17T21:47:09+00:00

Ive got a rather strange issue, ive got an automated build tool that is

  • 0

Ive got a rather strange issue, ive got an automated build tool that is calling through to the mysql command line to teardown then setup a database from an SQL file.

On one computer it is working fine, and its basically calling:

Mysql -h {Connection::Host} -u {Connection::User} –password={Connection::Password} < {sqlFile}

Ive just checked it out on another computer and tried to build and it keeps giving me the error “The system cannot find the file specified.”. The MySQL versions are the same 5.1 and no other files have changed. The only thing that i know is different is where the build files are deployed… at home they are deployed to:

d:/code/projects/xxxxx/

whereas on this computer that doesn’t work it is deployed to:

c:\Documents and Settings\xxxxxx\My Documents\Projects\Other\xxxxxx\

The interwebs brought back a few possibilities such as the spaces within the path, however ive tried adding the -i to the command (ignore spaces) and it made no difference.

Anyone have any ideas?

  • 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-05-17T21:47:10+00:00Added an answer on May 17, 2026 at 9:47 pm

    It’s most likely the spaces in the path. The part after the space will be passed to the program as a different parameter.

    Try surrounding {sqlFile} with double quotes.

    Mysql .... < "{sqlFile}"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a rather strange problem with my code on production server. On my
I've got a rather lengthy query i have been working with that is throwing
I've got a rather large SQL Server 2005 database that is under constant development.
I've got a series of rather large arrays of entries that I want to
Ive got a div that i want to slide out on click using .show(slide,
I've got a rather strange problem. For a Distributed Hash Table I need to
I've got a rather large loop that gets a string, does something to it,
I've got a problem that I'm rather confused about. I have the following lines
I've got a really strange error and any light that anyone can shed on
I've got a rather tricky problem that I've been trying to solve for the

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.