摘要: 1 使用docker cp 命令 复制.sql文件到容器中的目录 docker cp /root/tables.sql /tmp/ 2 进入容器内部,导入sql文件到数据库 docker exec -it 容器id bash mysql -uroot -ppassword use database_ 阅读全文
posted @ 2019-07-25 01:30 WaterGe 阅读(2740) 评论(0) 推荐(0) 编辑