728x90
반응형
- mysql 접속
- use mysql (데이터베이스 이름)
- root 계정 생성
create user 'root'@'localhost' identified by '비밀번호';
- 모든 권한 부여
grant all privileges on *.* to 'root'@'localhost' with grant option;
// create user 안될 시
alter user 'root'@'localhost' identified with mysql_native_password by 'new password'
반응형
'DB > MySQL' 카테고리의 다른 글
MySQL) date type 입력하기 (0) | 2021.06.03 |
---|---|
mysql) 접속 (0) | 2021.04.22 |
mysql) 데이터 타입 - datetime (0) | 2021.04.22 |
mysql) source (.sql 파일 사용) (0) | 2021.04.22 |
mysql) 데이터 베이스 생성과 사용 (DDL) (0) | 2021.04.21 |
댓글