Correct password setting for MySQL user
This commit is contained in:
parent
61e65294af
commit
cd3f5ed6fe
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ class DatabaseRepository {
|
||||||
|
|
||||||
$capsule->setAsGlobal();
|
$capsule->setAsGlobal();
|
||||||
Capsule::statement(sprintf(
|
Capsule::statement(sprintf(
|
||||||
'ALTER USER \'%s\'@\'%s\' IDENTIFIED BY \'%s\'',
|
'SET PASSWORD FOR \'%s\'@\'%s\' = PASSWORD(\'%s\')',
|
||||||
$db->username,
|
$db->username,
|
||||||
$db->remote,
|
$db->remote,
|
||||||
$password
|
$password
|
||||||
|
|
Loading…
Reference in a new issue