troubleshooting Question

How to import DUMP file from remote computer into MySQL server

Avatar of Vladimir Buzalka
Vladimir BuzalkaFlag for Czechia asked on
DatabasesMySQL ServerSQL
3 Comments2 Solutions166 ViewsLast Modified:
Hi Experts

I am new to MySQL server and I have just started to play with it. I want to create demo database Employees. I downloaded several .sql files and several .dump files. I understand that sql files contains mainly instructions how to setup database and individual tables, indexes etc. Dump files contains data to be inserted into given tables.

I installed MySql server on Unraid server (here it is installed as docker).

When I connect to server via MySQL Bench, all is OK. I am able to run queries, I am able to run Employees.sql but it gives me error as soon as it reaches where DUMP files are mentioned.

It looks that MySQL is not searching for dump files in directore of remote computer from which I started SQL script, but elsewhere.

So my question  how to import data into mySQL from DUMP file?

Many thanks

nociSoftware Engineer
Join our community to see this answer!
Unlock 2 Answers and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros