当前位置:首页 > linux > 正文内容

mysql导出数据的几种方式

root3年前 (2022-01-19)linux912

第一张:

select * from user into outfile '/var/lib/mysql-file/xxx.sql'

有的mysql配置了导出文件的位置

查看允许位置:

SHOW VARIABLES LIKE "secure_file_priv";


扫描二维码推送至手机访问。

版权声明:本文由一叶知秋发布,如需转载请注明出处。

本文链接:https://zhiqiu.top/?id=213

分享给朋友:

相关文章

How to remotely monitor hosts over Telnet and SSH [Tutorial]

python ssh登录服务器In this tutorial, you will learn how to carry out basic configurations on a server with Telnet and SSH co...

ssh自动添加hostkey到know_hosts

有时后端daemon或者脚本在执行ssh连接时,会遇到以下提示:The authenticity of host 'git.sws.com (10.42.1.88)' can't be establishe...

contos yum install ** 提示没有可用软件包

yum install -y epel-release#添加一个epel的三方源,据说新大全在执行yum install ***...

k8s 给sc 开启或者关闭 默认设置

k8s 给sc 开启或者关闭 默认设置

https://www.freesion.com/article/3909514696/ 关闭默认设置kubectl patch storageclass managed-nfs-storage-67 ...

测试xss公鸡

<script type="text/javascript">alert(123)</script>...

git 命令

修改文件:即添加内容到工作区vim  filepath清除工作区的内容,回溯到上次add的状态或者commit 的状态git checkout -- file添加文件到暂存区git add filepath暂存区文件重新回到工作区...