새소식

Database

MySQL 8.0 사용자 계정 생성 및 권한 설정

  • -
show variables like 'validate_password%';
set global validate_password.policy=LOW;
create user 'sample'@'%' identified by 'sample123';
grant all privileges on *.* to sample@'%' with grant option;
drop user 'sample'@'%';
flush privileges;
Contents

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.