- 博客(3)
- 收藏
- 关注
原创 MySql触发器实现统计文章数
创建触发器的sql语句为: create trigger trigger_name after/before insrt/update/delete on table_name for each row; 本文中有两个表, 分别命名为 article和article_number. 实现的是在表article中每添加一篇文章,article_numeber表中 的数目自动加一,每删除一篇文章...
2018-08-31 23:19:23
1024
原创 RHEL一块网卡绑定多个IP
**有多种配置方法: 比如nmtui。本文用命令生成。 [root@h ~]# cd /etc/sysconfig/network-scripts/ [root@h network-scripts]# ll total 216 -rw-r–r–. 1 root root 293 Aug 25 14:28 ifcfg-Backup -rw-r–r–. 1 root root 337...
2018-08-30 23:22:28
535
原创 Mysql 使用PASSSWORD函数生成密码报错:Data too long for column 'password'
Mysql 使用PASSSWORD函数生成密码报错,ERROR 1406 (22001): Data too long for column ‘password’ at row 1。 其中密码为‘0913’,设置的char最大长度为32位字符。 mysql> desc bank; +———-+——————+——+—–+———+——-+ | Field | Type ...
2018-08-30 22:51:06
1677
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人