摘要: mysql 导出csv格式数据解决乱码 #导出 root@95d956bb2012:/# mysql -u rootp -p -e "select * from wordpress.wp_users" > /tmp/wp_users.csv #解决乱码 sed -i '1s/^/\xEF\xBB\x 阅读全文
posted @ 2020-02-07 06:50 Carry00 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 自建dns服务器 yum -y install bind bind-chroot bind-util bind-libs vim /etc/named.conf named.conf zone "service.consul" IN { type forward; forwarders { 192. 阅读全文
posted @ 2020-02-07 06:47 Carry00 阅读(96) 评论(0) 推荐(0) 编辑
摘要: MySQL 角色管理 创建角色 create role test_role@'%'; 授权角色 grant select,insert,update,delete on testdb.* to test_user; 将角色分配给用户 create user 'test'@'192.168.1.1' 阅读全文
posted @ 2020-02-07 03:14 Carry00 阅读(66) 评论(0) 推荐(0) 编辑