기존 사용자 권한 설정

grant all privileges on dbname.table to 'user' identified by 'password';


Starting with MySQL 8 you no longer can (implicitly) create a user using the GRANT command. Use CREATE USER instead, followed by the GRANT statement:

-> MySQL 8부터 CREATE USER 명시선언 해줘야한다.

create user 'user' identified by 'password';

grant all privileges on *.* 'user';

 

'DB > MySQL' 카테고리의 다른 글

MySQL 기본 명령어  (0) 2021.05.20
  • mysql -u 'ID' -p 'DB명'
  • show databases;
  • use 'DB명'
  • exit

환경변수 설정

제어판 - 시스템 - 고급시스템 설정 - 환경변수 - 시스템변수 - Path 편집

C:\Program Files\MySQL\MySQL Server 8.0\bin

 

'DB > MySQL' 카테고리의 다른 글

GRANT 권한  (0) 2021.06.01

+ Recent posts