- Я создаю роль под названием «Разработчик» < /li>
Я предоставляю привилегии этой роли на Sakila.*< /Li>
Я создаю пользователя < /li>
Я предоставляю роль разработчика »для этого пользователя. I thought that all the privileges of the developer group would also apply to my new user. - but when I log on to mysql (successfully) and then issue USE sakila, I get ERROR 1044 (42000): Access denied for user 'dev001'@'localhost' to database 'sakila'
Подробнее здесь: https://stackoverflow.com/questions/796 ... le-to-user