0
Corrigé

mysql error using password yes

Анатолий Прохоров il y a 11 ans mis à jour par Şafak Demirhan il y a 9 ans 2

Не работает плагин MySQL, проверял на CentOS 6. Настройки плагина и MySQL не трогал (т.е. доступ к localhost как root и без пароля), но все время возникала ошибка  с using password yes. Естественно через консоль, как root заходил просто сказав "mysql".

Solution

Solution
Corrigé

Исправление выйдет в следующем билде.

Solution
Corrigé

Исправление выйдет в следующем билде.

Follow steps below
1.Start the mysql server instance or daemon with the --skip-grant-tables option. (security setting)
$ mysqld --skip-grant-tables 2.Then Execute these statements.
$ mysql -u root mysql $mysql> UPDATE user SET Password=PASSWORD('my_password') where USER='root'; $mysql> FLUSH PRIVILEGES;
3.Finally, restart the instance/daemon without the --skip-grant-tables option.
$ /etc/init.d/mysql restart
4.You should be able to connect with your new password.
$ mysql -u root -p
Enter password: my_password