且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何通过命令行在Windows上使用mysqldump导入SQL文件

更新时间:2023-09-26 16:41:28

导航到您拥有mysql的目录并发出此命令,将粗体值更改为文件/数据库位置.

Navigate to the directory where you have mysql and issue this command, changing the bold values to your file/database locations.

c:\mysql\bin\> mysql -u USERNAME -p PASSWORD database_name < filename.sql