Commit 9c1fdd3a authored by Łukasz Nowak's avatar Łukasz Nowak

Fix mysql connection string.

parent 5a3ebed8
......@@ -43,7 +43,7 @@ class Recipe(GenericSlapRecipe):
kumofs = "%s:%s" % (parsed.hostname, parsed.port)
parsed = urlparse.urlparse(self.options['mysql-url'])
mysql_connection_string = "%(database)s %(hostname)s@%(port)s "\
mysql_connection_string = "%(database)s@%(hostname)s:%(port)s "\
"%(username)s %(password)s" % dict(
database=parsed.path.split('/')[1],
hostname=parsed.hostname,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment