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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T05:48:53+00:00 2026-05-30T05:48:53+00:00

I installed MySql 4.1(because that what is running on my server), I got a

  • 0

I installed MySql 4.1(because that what is running on my server), I got a file that is a dump of my database. It is about 4.6 GB.

I put that file in same location as MySql.exe lives C:\Program Files\MySQL\MySQL Server 4.1\bin

Then I go to command line and type in:

mysql -h localhost -u root -p [database name] < mysqlDump.sql

I get message back ‘The system cannot find the file specified.'

What file is it referring to? The mysqlDump.sql?

Even when I specify the full path to the mySqlDump.sql file, I get the same message.

mysql -h localhost -u root -p [database name] < C:\Program Files\MySQL\MySQL Server 4.1\bin\mysqlDump.sql

I’m running MySql 4.1 on Windows7

update found out my mistake. My folder was hiding file extensions. Somehow when I saved the file on my machine I gave it an extra .sql extension. So the file had a name of mysqlDump.sql.sql

  • 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-30T05:48:55+00:00Added an answer on May 30, 2026 at 5:48 am

    Use TAB key when you are starting typing mysqlDump… to ensure that your file is there and you have privileges for it.

    Tab key in command line will complete filename or not.

    This will give you some information if the file exists and if you have permissions to that file. Maybe it was created from other operating system user account and you have no read privileges.

    I put that file in same location as MySql.exe lives C:\Program
    Files\MySQL\MySQL Server 4.1\bin

    This is not good idea, because regular operating system user accoung may have no privileges to write in Program Files directory.

    To do it properly I would add C:\Program Files\MySQL\MySQL Server 4.1\bin to the PATH environment variable (link with howto). After you do this you will be able to run MySQL executable files from anywhere you want (like your desktop or documents folder for example) without messing around in Program Files. You can place your working file at location where you have all privileges and work on it from the command line.

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

Sidebar

Related Questions

I've got problem with connecting to MySQL database on my freshly installed Windows 7
I have MySQL installed on a Windows 2003 server on our domain. I cannot
I have MySQL running with the ASP Membership Schema I have installed the connector,
I was just looking at the MySql database created by drupal after I installed
I'm currently using mysql w/ PHP because that's what I learned and haven't ever
I'm running OSX 10.7 (Lion), and recently uninstalled MacPorts because MySQL failed to start.
Im trying to connect to a mysql database on my web server, but I
I am running both, MAMP and Zend Server CE. I just installed the Zend
A client's server is running MySQL 5.0. Last night the server automatically restarted to
I recently installed MySQL 5 on Windows 2003 and tried configuring an instance. Everything

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.