Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
import database through command line
JoeBe
Programming language:
Whatever
2021-07-14 10:29:46
0
Q:
import database through command line
MADY
Code:
Whatever
2021-03-17 10:56:17
mysql -u username -p database_name < file.sql
0
mathvoca
Code:
Whatever
2021-08-20 11:39:25
mysql> use db_name; mysql> source file_name.sql;
3
Tags
line
data
command
port
base
database
Related
docker compose import db dump
New to Communities?
Join the community