Skip to content
Snippets Groups Projects
Commit 12b6fc93 authored by Marko Mecina's avatar Marko Mecina
Browse files

for codeblockreusefeature, use MySQL host from general config

parent 9e45b685
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ threadname = True
[codereuse-preferences]
main-window-height = 791
main-window-width = 612
paned-position-search = 406
paned-position-command-code = 105
paned-position-search = 309
paned-position-command-code = 162
paned-position-comment = 462
......@@ -10,8 +10,9 @@ cfg = confignator.get_config()
user = cfg.get('database', 'user')
pw = cfg.get('database', 'password')
host = cfg.get('database', 'host')
mysql_connection_string = 'mysql://{}:{}@localhost'.format(user, pw)
mysql_connection_string = 'mysql://{}:{}@{}'.format(user, pw, host)
schema_name = 'tst'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment