2020-09-29
1.mysql的默认INNODB分配内存大小为128M,而我买的是最
初级的服务器,内存比较小,所有需要调整内存。
2. 进入etc/my.cnf
3. 编辑my.cnf文件 ,在mysql下加入: innodb_buffer_pool_size=50M
4. 保存,启动serivce mysqld start 成功.....
2020-09-23
“I dread to come to the end of the year,said a friend to me recently, ”it makes me realize I am growing old.“
William James, the great psychologist, said that most men are ”old fogies at twenty-f.....
2020-09-22
Life is like a big swing, dangling between the depths of happiness and sadness. As soon as we descend down the slope of sadness, we accelerate over the ever-feel-good acclivity f happiness. At times o.....
2020-09-21
Today I shed my old skin which hath, too long, suffered the bruises of failure and the wounds of mediority.
Today I am born anew and my birthplace is a vineyard where there is fruit for all.
.....
2020-09-10
今天遇到一个问题就是利用sql查询最近的一条记录然后更新到另外一个表中,试了很久发觉这样格式才不会报错!
```sql
update a inner join(
select * from d
) b on a.id=b.id
set a.name =b.name;
```.....