小编今天要往mysql中,导入一个接近1G的数据。通过mysql的图形化工具发现导入的很慢,预计市场需要4个小时左右(可能是小编的电脑性能不佳。哈哈)。这也太耽误事了,后来发现我们可以通过source命令。操作方法:# 选择数据库 use 数据库名; # 导入数据(后面跟着SQL文件的路径即可) source d:/test.sql; Last modification:September 9, 2020 © Allow specification reprint Support Appreciate the author AliPayWeChat Like 0 If you think my article is useful to you, please feel free to appreciate
2 comments
学哥,给你点个赞
欢迎欢迎