DataBase/MySQL
[MySQL] ERROR 1044 (42000): Access denied for user 'user'@'localhost' to database 'userdb'
빅경
2024. 8. 22. 17:16
728x90
반응형
grant all privileges on db_name.* to 'user_name'@localhost;
grant all privileges on db_name.* to 'user_name'@'%';
show grants for user_name@localhost;
show grants for user_name@'%';
flush privileges;
728x90
반응형