mirror of
https://github.com/mempool/mempool.git
synced 2026-08-13 12:33:11 +02:00
sed and config fix for MySQL socket, accept CLA for @dsbaars
This commit is contained in:
parent
7fd9e27cc2
commit
465529b03f
3 changed files with 5 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ export class DB {
|
|||
timezone: '+00:00',
|
||||
}
|
||||
|
||||
if (config.DATABASE.SOCKET)
|
||||
if (config.DATABASE.SOCKET && config.DATABASE.SOCKET != "")
|
||||
poolConfig.socketPath = config.DATABASE.SOCKET
|
||||
else
|
||||
poolConfig.host = config.DATABASE.HOST
|
||||
|
|
|
|||
3
contributors/dsbaars.txt
Normal file
3
contributors/dsbaars.txt
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
I hereby accept the terms of the Contributor License Agreement in the CONTRIBUTING.md file of the mempool/mempool git repository as of January 25, 2022.
|
||||
|
||||
Signed: dsbaars
|
||||
|
|
@ -112,7 +112,7 @@ sed -i "s/__SECOND_CORE_RPC_PASSWORD__/${__SECOND_CORE_RPC_PASSWORD__}/g" mempoo
|
|||
|
||||
sed -i "s/__DATABASE_ENABLED__/${__DATABASE_ENABLED__}/g" mempool-config.json
|
||||
sed -i "s/__DATABASE_HOST__/${__DATABASE_HOST__}/g" mempool-config.json
|
||||
sed -i "s/__DATABASE_SOCKET__/${__DATABASE_SOCKET__}/g" mempool-config.json
|
||||
sed -i "s!__DATABASE_SOCKET__!${__DATABASE_SOCKET__}!g" mempool-config.json
|
||||
|
||||
sed -i "s/__DATABASE_PORT__/${__DATABASE_PORT__}/g" mempool-config.json
|
||||
sed -i "s/__DATABASE_DATABASE__/${__DATABASE_DATABASE__}/g" mempool-config.json
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue