- Forums
- MySQL
- How To Import Regular .sql File In Linux Command
This post shows how to import a regular .sql file with extension .sql in linux using this simple command line. [8925], Last Updated: Sat May 18, 2024
webune
Sat Apr 04, 2015
0 Comments
73 Visits
hello there
if you have a mysql file with extension .sql you can import it very easy with this command from the linux shell prompt:
mysqldump db_name > mysql-file.sql
if you were expecting something more complicated, i am sorry to disappoint you. but its very easy.