mysql导出数据的几种方式
第一张:
select * from user into outfile '/var/lib/mysql-file/xxx.sql'
有的mysql配置了导出文件的位置
查看允许位置:
SHOW VARIABLES LIKE "secure_file_priv";
第一张:
select * from user into outfile '/var/lib/mysql-file/xxx.sql'
有的mysql配置了导出文件的位置
查看允许位置:
SHOW VARIABLES LIKE "secure_file_priv";
import paramikossh = paramiko.SSHClient()ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())ssh.connect('192.1...
一、supervisor简介Supervisor是用Python开发的一套通用的进程管理程序,能将一个普通的命令行进程变为后台daemon,并监控进程状态,异常退出时能自动重启。它是通过fork/exec的方式把这些被管理的进程当作supe...
添加用户useradd username 修改用户密码passwd username修改文件用户和用户组chown -R username:group /project/修改归属用户chown&...
curPath=$(readlink -f "$(dirname "$0")") echo $curPath #或者 curPath=$(dirname $(readli...
给自己的程序添加开机自启写了个脚本添加,并把执行脚本命令添加到了卡机启动中/etc/rc.local (不是一个设置开机启动的好办法)开机的时候存在失败,因为依赖的服务可能还没启动脚本就启动了 只能在脚本最上面sleep...
git rm -r --cached . git add . git commit -m "update .gitignore" git status查看是否是"working di...