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;
```.....