mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-12 19:33:45 +02:00
Correct password setting for MySQL user
This commit is contained in:
@@ -138,7 +138,7 @@ class DatabaseRepository {
|
||||
|
||||
$capsule->setAsGlobal();
|
||||
Capsule::statement(sprintf(
|
||||
'ALTER USER \'%s\'@\'%s\' IDENTIFIED BY \'%s\'',
|
||||
'SET PASSWORD FOR \'%s\'@\'%s\' = PASSWORD(\'%s\')',
|
||||
$db->username,
|
||||
$db->remote,
|
||||
$password
|
||||
|
||||
Reference in New Issue
Block a user