上一页 1 ··· 4 5 6 7 8 9 10 下一页
摘要: 使用mysql的root账号执行mysql>grant all privileges on *.* to mycatuser@% identified by '123456';mysql>flush privileges;#vi /usr/local/mycat/conf/server.xml <u 阅读全文
posted @ 2020-05-25 13:27 tochenwei 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 参考 https://blog.csdn.net/sq2006hjp/article/details/78732227 Mycat采用的水平拆分,不管是分库还是分表,都是水平拆分的。分库是指,把一个大表的数据,分为多个同名的表,分别存到不同的数据库;分表是指,把一个大表,拆成多个不同名的表,放在一个 阅读全文
posted @ 2020-05-25 13:26 tochenwei 阅读(1925) 评论(0) 推荐(0) 编辑
摘要: 参考https://blog.csdn.net/tornadojava/article/details/54948662 privileges标签 对用户的 schema以及表进行精细化的DML权限控制。<privileges check="false">check表示是否开启DML权限检查。默认是 阅读全文
posted @ 2020-05-25 13:20 tochenwei 阅读(317) 评论(0) 推荐(0) 编辑
摘要: 新建数据库>CREATE DATABASE dbname CHARACTER SET utf8 COLLATE utf8_general_ci; 对于mysql的旧版本: >grant all privileges on dbname.* to 'phplamp'@'%' identified by 阅读全文
posted @ 2020-05-23 21:34 tochenwei 阅读(209) 评论(0) 推荐(0) 编辑
摘要: [root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-ens33 TYPE="Ethernet" PROXY_METHOD="none" BROWSER_ONLY="no" BOOTPROTO="static" DEFROUTE=" 阅读全文
posted @ 2020-05-23 15:06 tochenwei 阅读(219) 评论(0) 推荐(0) 编辑
摘要: $ip a 看见系统中有两块网卡 lo: ...... ens33: ...... #cd /etc/netplan$ls目录下面有文件01-network-manager-all.yaml $sudo vim 01-network-manager-all.yaml 文件内容类似如下 一定要注意ya 阅读全文
posted @ 2020-05-23 14:12 tochenwei 阅读(567) 评论(0) 推荐(0) 编辑
摘要: $sudo which iptables /usr/sbin/iptables说明有安装 如果没有安装,那么使用sudo apt-get install iptables 安装。 刚装机,是这个样子。 $sudo iptables -LChain INPUT (policy DROP)target 阅读全文
posted @ 2020-05-23 14:11 tochenwei 阅读(581) 评论(0) 推荐(0) 编辑
摘要: $sudo vi /lib/systemd/system/rc-local.service内容如下[Unit]Description=/etc/rc.local CompatibilityDocumentation=man:systemd-rc-local-generator(8)Condition 阅读全文
posted @ 2020-05-23 14:10 tochenwei 阅读(568) 评论(0) 推荐(0) 编辑
摘要: easyswoole项目的 vendor/easyswoole/socket/这个项目怎么都无法添加到git目录里面。 报错: Administrator@PhpServer MINGW64 /z/wwwroot/dating (develop)$ git add ./vendor/easyswoo 阅读全文
posted @ 2020-05-23 14:09 tochenwei 阅读(244) 评论(0) 推荐(0) 编辑
摘要: server.php <?php class Server { private $serv; private $logFilePath = "/data/wwwroot/houtai/Log/taskqueueu.log"; public function __construct() { $this 阅读全文
posted @ 2020-05-23 14:08 tochenwei 阅读(331) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 下一页