博客 windows mysql执行sql文件2024-07-08 10:04 目录 · 2 节背景解决背景 快速导入数据表或者数据库。 解决 直接执行sql文件。 虽然直接复制内容也行,但是还是执行文件更好一些。 登录 powershell复制mysql -u root -p -D xxx -D指定数据库的名称。如果不写,可以在进入mysql命令行后,使用use xxx来使用数据库。 执行 sql复制source xxx.sql 特别注意,哪怕路径里有空格,外部也不需要加引号(加引号反而会报错) 上一篇nuxt3启动报错The requested module 'file://C:/Users/acer/node_modules/ufo/dist/index.mjs' does not provide an export named 'joinRelativeURL'下一篇prettier Unexpected closing tag "p". It may happen when the tag has already been closed by another tag. 评论登录后可以和站长讨论。用 GitHub 登录 正在加载评论
评论
正在加载评论