質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
nginx

nginixは軽量で高性能なwebサーバーの1つです。BSD-likeライセンスのもとリリースされており、あわせてHTTPサーバ、リバースプロキシ、メールプロキシの機能も備えています。MacOSX、Windows、Linux、上で動作します。

Q&A

0回答

1589閲覧

uwsgiが勝手にmysqlと繋がろうとしている

temycs

総合スコア16

nginx

nginixは軽量で高性能なwebサーバーの1つです。BSD-likeライセンスのもとリリースされており、あわせてHTTPサーバ、リバースプロキシ、メールプロキシの機能も備えています。MacOSX、Windows、Linux、上で動作します。

0グッド

0クリップ

投稿2017/09/04 07:59

編集2017/09/04 08:00

Nginxとuwsgiを用いてdjangoサーバーを立てています
djangoのDBはpostgresです

にもかかわらずuwsgiのログを見ると

uWSGI is running in multiple interpreter mode
spawned uWSGI worker 1 (and the only) (pid: [0000], cores: 1)
Not Found: /mysql/admin/
[pid: [0000]|app: 0|req: 1/1] [00.00.00.00] () {34 vars in 418 bytes} [Mon Sep 4 16:52:35 2017] HEAD /mysql/admin/ => generated 2868 bytes in 151 msecs (HTTP/1.1 404) 3 headers in 102 bytes (1 switches on core 0)
Not Found: /mysql/dbadmin/
[pid: [0000]|app: 0|req: 1/1] [00.00.00.00] () {34 vars in 422 bytes} [Mon Sep 4 16:52:36 2017] HEAD /mysql/dbadmin/ => generated 2874 bytes in 148 msecs (HTTP/1.1 404) 3 headers in 102 bytes (1 switches on core 0)
Not Found: /mysql/sqlmanager/
[pid: [0000]|app: 0|req: 2/2] [00.00.00.00] () {34 vars in 428 bytes} [Mon Sep 4 16:52:38 2017] HEAD /mysql/sqlmanager/ => generated 2883 bytes in 3 msecs (HTTP/1.1 404) 3 headers in 102 bytes (1 switches on core 0)
Not Found: /mysql/mysqlmanager/
[pid: [0000]|app: 0|req: 2/2] [00.00.00.00] () {34 vars in 432 bytes} [Mon Sep 4 16:52:39 2017] HEAD /mysql/mysqlmanager/ => generated 2889 bytes in 3 msecs (HTTP/1.1 404) 3 headers in 102 bytes (1 switches on core 0)
Not Found: /phpmyadmin/
[pid: [0000]|app: 0|req: 3/3] [00.00.00.00] () {34 vars in 416 bytes} [Mon Sep 4 16:52:42 2017] HEAD /phpmyadmin/ => generated 2865 bytes in 3 msecs (HTTP/1.1 404) 3 headers in 102 bytes (1 switches on core 0)
Not Found: /phpMyadmin/
[pid: [0000]|app: 0|req: 3/3] [00.00.00.00] () {34 vars in 416 bytes} [Mon Sep 4 16:52:45 2017] HEAD /phpMyadmin/ => generated 2865 bytes in 3 msecs (HTTP/1.1 404) 3 headers in 102 bytes (1 switches on core 0)
Not Found: /phpMyAdmin/
[pid: [0000]|app: 0|req: 4/4][00.00.00.00] () {34 vars in 416 bytes} [Mon Sep 4 16:52:46 2017] HEAD /phpMyAdmin/ => generated 2865 bytes in 3 msecs (HTTP/1.1 404) 3 headers in 102 bytes (1 switches on core 0)
Not Found: /phpmyAdmin/
[pid: [0000]|app: 0|req: 4/4] [00.00.00.00] () {34 vars in 416 bytes} [Mon Sep 4 16:52:48 2017] HEAD /phpmyAdmin/ => generated 2865 bytes in 3 msecs (HTTP/1.1 404) 3 headers in 102 bytes (1 switches on core 0)
Not Found: /phpmyadmin2/
[pid: 5626|app: 0|req: 5/5] [00.00.00.00] () {34 vars in 418 bytes} [Mon Sep 4 16:52:49 2017] HEAD /phpmyadmin2/ => generated 2868 bytes in 3 msecs (HTTP/1.1 404) 3 headers in 102 bytes (1 switches on core 0)

と出ていました。

nginxもしくはuwsgiってデフォルトでmysqlと繋がる設定とかあるんですか?

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問