"> ');
本站使用了 Pjax 等基于 JavaScript 的开发技术,但您的浏览器已禁用 JavaScript,请开启 JavaScript 以保证网站正常显示!

centos 宝塔 使用命令行快速导入数据库sql

先将sql文件上传到服务器,例如上传到www文件夹

然后打开命令行工具

输入

mysql -u 数据库用户名 -p
请输入图片描述

然后复制密码进去

然后输入

use 数据库名

回车

然后输入

source /www/xxx.sql

回车,嗖嗖嗖搞定了

破罐子互摔


正在加载...

推广

 继续浏览关于 的文章

 本文最后更新于:2020/08/25 14:15:02,可能因经年累月而与现状有所差异

 引用转载请注明:龙氏小哥 > 搬砖笔记 > centos 宝塔 使用命令行快速导入数据库sql

发现共鸣


Warning: curl_setopt() expects parameter 1 to be resource, null given in /www/wwwroot/blog.longshi.org/usr/themes/armx/functions.php on line 1531
如是说:当眼泪流下来,才知道,分开也是另一种明白。

发表评论

'); pageInit(); NProgress.done(); var url = window.location.href; if(url.indexOf("comment")>-1 ){ $('html,body').animate({scrollTop: $('#comments').offset().top /*+ Ch*/ }, 500); } if(typeof Blazy != 'undefined' && Blazy instanceof Function){ $(document).ready(function(){ var blazy = new Blazy(); }); } } }); InstantClick.on('wait', function(){ //点击链接但未加载 NProgress.start(); NProgress.inc(); }); // InstantClick.on('receive',function(url){ //页面已预加载 // url // body // title // }); // InstantClick.on('fetch',function(url){ //页面开始预加载 // }); InstantClick.init('mousedown'); } pageInit();