mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 05:45:59 +01:00
Change database creation, and bug fixes.
This commit is contained in:
@@ -75,7 +75,7 @@ class mysqlUtilities:
|
||||
|
||||
return 0
|
||||
else:
|
||||
|
||||
|
||||
dropDB = "GRANT ALL PRIVILEGES ON " +dbname+ ".* TO '" +dbuser+ "'@'localhost'"
|
||||
command = 'sudo mysql -u root -p' + password + ' -e "' + dropDB + '"'
|
||||
cmd = shlex.split(command)
|
||||
|
||||
Reference in New Issue
Block a user