ops: Use unix sockets for MySQL

This commit is contained in:
wiz 2023-04-04 21:48:42 +09:00
parent a9dc5e9be4
commit 906f24f0ee
No known key found for this signature in database
GPG Key ID: A394E332255A6173
9 changed files with 9 additions and 9 deletions

View File

@ -20,7 +20,7 @@
"DATABASE": { "DATABASE": {
"ENABLED": false, "ENABLED": false,
"HOST": "127.0.0.1", "HOST": "127.0.0.1",
"PORT": 3306, "SOCKET": "/var/run/mysql/mysql.sock",
"USERNAME": "__MEMPOOL_BISQ_USER__", "USERNAME": "__MEMPOOL_BISQ_USER__",
"PASSWORD": "__MEMPOOL_BISQ_PASS__", "PASSWORD": "__MEMPOOL_BISQ_PASS__",
"DATABASE": "mempool_bisq" "DATABASE": "mempool_bisq"

View File

@ -28,7 +28,7 @@
"DATABASE": { "DATABASE": {
"ENABLED": true, "ENABLED": true,
"HOST": "127.0.0.1", "HOST": "127.0.0.1",
"PORT": 3306, "SOCKET": "/var/run/mysql/mysql.sock",
"USERNAME": "__MEMPOOL_LIQUID_USER__", "USERNAME": "__MEMPOOL_LIQUID_USER__",
"PASSWORD": "__MEMPOOL_LIQUID_PASS__", "PASSWORD": "__MEMPOOL_LIQUID_PASS__",
"DATABASE": "mempool_liquid" "DATABASE": "mempool_liquid"

View File

@ -28,7 +28,7 @@
"DATABASE": { "DATABASE": {
"ENABLED": true, "ENABLED": true,
"HOST": "127.0.0.1", "HOST": "127.0.0.1",
"PORT": 3306, "SOCKET": "/var/run/mysql/mysql.sock",
"USERNAME": "__MEMPOOL_LIQUIDTESTNET_USER__", "USERNAME": "__MEMPOOL_LIQUIDTESTNET_USER__",
"PASSWORD": "__MEMPOOL_LIQUIDTESTNET_PASS__", "PASSWORD": "__MEMPOOL_LIQUIDTESTNET_PASS__",
"DATABASE": "mempool_liquidtestnet" "DATABASE": "mempool_liquidtestnet"

View File

@ -41,7 +41,7 @@
"DATABASE": { "DATABASE": {
"ENABLED": true, "ENABLED": true,
"HOST": "127.0.0.1", "HOST": "127.0.0.1",
"PORT": 3306, "SOCKET": "/var/run/mysql/mysql.sock",
"USERNAME": "__MEMPOOL_MAINNET_LIGHTNING_USER__", "USERNAME": "__MEMPOOL_MAINNET_LIGHTNING_USER__",
"PASSWORD": "__MEMPOOL_MAINNET_LIGHTNING_PASS__", "PASSWORD": "__MEMPOOL_MAINNET_LIGHTNING_PASS__",
"DATABASE": "mempool_mainnet_lightning" "DATABASE": "mempool_mainnet_lightning"

View File

@ -36,7 +36,7 @@
"DATABASE": { "DATABASE": {
"ENABLED": true, "ENABLED": true,
"HOST": "127.0.0.1", "HOST": "127.0.0.1",
"PORT": 3306, "SOCKET": "/var/run/mysql/mysql.sock",
"USERNAME": "__MEMPOOL_MAINNET_USER__", "USERNAME": "__MEMPOOL_MAINNET_USER__",
"PASSWORD": "__MEMPOOL_MAINNET_PASS__", "PASSWORD": "__MEMPOOL_MAINNET_PASS__",
"DATABASE": "mempool" "DATABASE": "mempool"

View File

@ -36,7 +36,7 @@
"DATABASE": { "DATABASE": {
"ENABLED": true, "ENABLED": true,
"HOST": "127.0.0.1", "HOST": "127.0.0.1",
"PORT": 3306, "SOCKET": "/var/run/mysql/mysql.sock",
"USERNAME": "__MEMPOOL_SIGNET_LIGHTNING_USER__", "USERNAME": "__MEMPOOL_SIGNET_LIGHTNING_USER__",
"PASSWORD": "__MEMPOOL_SIGNET_LIGHTNING_PASS__", "PASSWORD": "__MEMPOOL_SIGNET_LIGHTNING_PASS__",
"DATABASE": "mempool_signet_lightning" "DATABASE": "mempool_signet_lightning"

View File

@ -27,7 +27,7 @@
"DATABASE": { "DATABASE": {
"ENABLED": true, "ENABLED": true,
"HOST": "127.0.0.1", "HOST": "127.0.0.1",
"PORT": 3306, "SOCKET": "/var/run/mysql/mysql.sock",
"USERNAME": "__MEMPOOL_SIGNET_USER__", "USERNAME": "__MEMPOOL_SIGNET_USER__",
"PASSWORD": "__MEMPOOL_SIGNET_PASS__", "PASSWORD": "__MEMPOOL_SIGNET_PASS__",
"DATABASE": "mempool_signet" "DATABASE": "mempool_signet"

View File

@ -36,7 +36,7 @@
"DATABASE": { "DATABASE": {
"ENABLED": true, "ENABLED": true,
"HOST": "127.0.0.1", "HOST": "127.0.0.1",
"PORT": 3306, "SOCKET": "/var/run/mysql/mysql.sock",
"USERNAME": "__MEMPOOL_TESTNET_LIGHTNING_USER__", "USERNAME": "__MEMPOOL_TESTNET_LIGHTNING_USER__",
"PASSWORD": "__MEMPOOL_TESTNET_LIGHTNING_PASS__", "PASSWORD": "__MEMPOOL_TESTNET_LIGHTNING_PASS__",
"DATABASE": "mempool_testnet_lightning" "DATABASE": "mempool_testnet_lightning"

View File

@ -27,7 +27,7 @@
"DATABASE": { "DATABASE": {
"ENABLED": true, "ENABLED": true,
"HOST": "127.0.0.1", "HOST": "127.0.0.1",
"PORT": 3306, "SOCKET": "/var/run/mysql/mysql.sock",
"USERNAME": "__MEMPOOL_TESTNET_USER__", "USERNAME": "__MEMPOOL_TESTNET_USER__",
"PASSWORD": "__MEMPOOL_TESTNET_PASS__", "PASSWORD": "__MEMPOOL_TESTNET_PASS__",
"DATABASE": "mempool_testnet" "DATABASE": "mempool_testnet"