摘要:
一、连接查询 二、备份与恢复 在shell终端执行: [root@localhost ~]# mysqldump -uroot -p0330 --databases test > test.sql #备份单个数据库[root@localhost ~]# mysqldump -uroot -p0330
阅读全文
摘要:
碰到这种问题就 vim /etc/ansible/ansible.cfg做如下修改(去掉#)
阅读全文
摘要:
python脚本import random with open(r'D:\pyt\a.txt','r',encoding='utf-8') as f1,open(r'D:\pyt\a.txt','w',encoding='utf-8') as f2: for i in range(101): f2.write('%d\n' % random.randint(1,100))...
阅读全文