SELECT HOUR(timeline),count(*) FROM witiot.device_use_record GROUP BY HOUR(timeline) ORDER BY Hour(timeline);
import os import time def get_size(start_path = ''): total_size = 0 for dirpath, dirnames, filenames in os.walk(start_path): for f in filenames: fp = os.path.join(dirpath
sudo wget https://github.com/swoole/swoole-src/archive/v4.2.9.tar.gz
sudo tar zxvf v4.2.9.tar.gz
cd swoole-src-4.2.9
编译安装使用 phpize
apt install php7.3dev
安装了就有phpize
使用安装 php 时生成的 phpi
A - sudo rm /Applications/XAMPP/xamppfiles/bin/mysql.server
B - sudo ln -s /Applications/XAMPP/xamppfiles/share/mysql/mysql.server /Applications/XAMPP/xamppfiles/bin/mysql.server
我们在终端输入上述A、B两行命令,如果启动还解决不了得话,我们就再执行下面一条。
sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start