Я создал пользователя в MySQL, но не могу войти с ним.
MariaDB [(none)]> create user fe_joomla;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> grant all on fe_joomla.* to fe_joomla;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> show grants for fe_joomla;
+----------------------------------------------------------+
| Grants for fe_joomla@% |
+----------------------------------------------------------+
| GRANT USAGE ON *.* TO 'fe_joomla'@'%' |
| GRANT ALL PRIVILEGES ON `fe_joomla`.* TO 'fe_joomla'@'%' |
+----------------------------------------------------------+
2 rows in set (0.00 sec)
$ mysql -u fe_joomla fe_joomla
ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'fe_joomla'
Я следовал этому руководству. http://www.mysqltutorial.org/mysql-grant.aspx