forked from OpenNeo/impress
Merge branch 'main' into simpler-item-previews
This commit is contained in:
commit
62d9f2d24a
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ namespace :public_data do
|
||||||
# The connection details for our database!
|
# The connection details for our database!
|
||||||
config = ApplicationRecord.connection_db_config.configuration_hash
|
config = ApplicationRecord.connection_db_config.configuration_hash
|
||||||
args << "--host=#{config[:host]}" if config[:host]
|
args << "--host=#{config[:host]}" if config[:host]
|
||||||
|
args << "--ssl=false" # SSL is the default for recent MariaDB; override!
|
||||||
args << "--user=#{config[:username]}" if config[:username]
|
args << "--user=#{config[:username]}" if config[:username]
|
||||||
args << "--password=#{config[:password]}" if config[:password]
|
args << "--password=#{config[:password]}" if config[:password]
|
||||||
args << "--database=#{config.fetch(:database)}"
|
args << "--database=#{config.fetch(:database)}"
|
||||||
|
|
Loading…
Reference in a new issue