2023-09-01から1ヶ月間の記事一覧
getIndexの改善 引き続き無駄な部分を改善する。 コメントは3個まででよい UserのデータはAccountNameだけしか使ってないと思われる GitHub - jmoiron/sqlx: general purpose extensions to golang's database/sql sqlxは多分、フィールドの配列構造体を直…
Nginxログ解析 ログフォーマットを設定。 apt update && apt install -y vim vi /etc/nginx/nginx.conf # nginx -t nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful…
スロークエリログ設定 webapp\etc\my.cnfに追記 slow_query_log = 1 slow_query_log_file = /var/log/mysql/mysql-slow.log long_query_time = 0 出ないと思ったらパーミッション問題。 mysql: [Warning] World-writable config file '/etc/my.cnf' is ignor…
private-isuをやっていく。 github.com 環境 Windows 10 Docker Desktop 言語はGo ログ アプリ起動 Docker Desktopは起動しておく してないとerror during connect: this error may indicate that the docker daemon is not running: rubyで一回イメージ作っ…