### Import database in docker ### -i mysql mysql -u[user] -p[password] -f database_name < ten-file-sql.sql vd: user: root, pass: 123456, db: abc_db, file_Db: db.sql => sudo docker exec -i mysql mysql -uroot -p123456 -f abc_db < db.sql
### Import database in docker ### -i mysql mysql -u[user] -p[password] -f database_name < ten-file-sql.sql vd: user: root, pass: 123456, db: abc_db, file_Db: db.sql => sudo docker exec -i mysql mysql -uroot -p123456 -f abc_db < db.sql
© 2020 Huỳnh Tấn Mão