문제
uncategorized SQLException for SQL []; SQL state [HY000]; error code [1449]; The user specified as a definer ('orbit'@'%') does not exist; nested exception is java.sql.SQLException: The user specified as a definer ('orbit'@'%') does not exist
오류 발생~!!!
문제 해결 시도
grant all on *.* to 'root'@'%' identified by 'password' with grant option;
다른 문제 발생
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> CREATE USER 'orbit'@'%' IDENTIFIED BY 'orbit';
해결
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> CREATE USER 'root'@'%' IDENTIFIED BY 'root';
mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;
참고) https://stackoverflow.com/questions/50177216/how-to-grant-all-privileges-to-root-user-in-mysql-8-0
'Backend > DB' 카테고리의 다른 글
[MySQL] Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) 해결법 (0) | 2020.08.20 |
---|---|
[Mysql] 설치 및 dump file import 까지 (0) | 2020.08.20 |
[MySql] 자연어 검색 플러그인 Mecab (FullText, 한글 검색 ...) (0) | 2020.08.19 |
[MySql] FullText 설정 관련 블로그 (0) | 2020.08.18 |
[MYSQL] dump file import 시 ERROR 1418 (HY000) 해결 방법 (0) | 2020.07.07 |