사용자가 이미 존재하지 않는다고 가정어떤 권한
grant usage on databasename.* to 'username'@'localhost' identified by 'password'
및
grant usage on *.* to 'username'@'localhost' identified by 'password'
및
create user 'username'@'localhost' identified by 'password'
사이에 차이가를 사용자를 생성하지 않으며 부여? 나의 이해는 이들 각각이 암호로 사용자를 생성하고 사용자에게 권한을 부여하지 않는다는 것입니다. 사용자가 이미 존재하는 경우
는, 그때는 약간의 차이가 예상 다음 grant
-statements 암호를 변경합니다
- 를 '암호'
create user
-statement 오류