---
title: "实现MySQL导入sql脚本"
author: "flyli815"
date: "2010-12-30T16:11:34Z"
tags: []
categories: ["数据库"]
slug: "mysql-sql"
draft: false
lastmod: "2010-12-30T16:11:34Z"
id: 856005
url: "https://flyli815.iteye.com/blog/856005"
---

1.  >MySQL -u root -p123 

进入MySQL后


1.MySQL>use test;  

2.MySQL> source c:/test.sql