Django で、MySQL (5.7) にクエリを出す時、(2013, 'Lost connection to MySQL server during query') のエラーが出て、処理が停止するようになった。
まず、接続中の コネクションで、 innodb_strict_mode を見てみる。SHOW VARIABLES LIKE '%innodb_strict_mode%';
ON である必要がある。
Posted by:
ytyng
Category:
Python
6 months, 2 weeks ago
Alpine Linux で google-crc32c==1.1.3 をインストールしようとすると出る #include のエラーの回避方法。
ERROR: Failed building wheel for google-crc32c となったり error: command 'gcc' failed with exit status 1 となる場合。環境変数 CRC32C_PURE_PYTHON=1 を設定すると良い