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";
有时后端daemon或者脚本在执行ssh连接时,会遇到以下提示:The authenticity of host 'git.sws.com (10.42.1.88)' can't be establishe...
添加用户useradd username 修改用户密码passwd username修改文件用户和用户组chown -R username:group /project/修改归属用户chown&...
强制升级:sudo pip install --ignore-installed +模块名...
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...