enable remote mysql for other services

This commit is contained in:
Usman Nasir
2020-07-06 11:28:41 +05:00
parent 239cf01233
commit 135bb2494a
3 changed files with 47 additions and 0 deletions

View File

@@ -60,6 +60,7 @@ class mysqlUtilities:
dropDB = "GRANT ALL PRIVILEGES ON " + dbname + ".* TO '" + dbuser + "'@'%s'" % (publicip)
else:
dropDB = "GRANT ALL PRIVILEGES ON " + dbname + ".* TO '" + dbuser + "'@'localhost'"
command = initCommand + dropDB + '"'
if install.preFlightsChecks.debug: