반응형
error 1045
-
ERROR 1045(28000) 비밀번호 오류프레임워크/리액트 React 2024. 7. 9. 11:22
ERROR 1045 (28000): Access denied for user 'malldbuser'@'localhost' (using password: YES)→ 마리아DB 계정 연결 중 발생한 오류 - 비밀번호 오류→ 아래의 개념이 제대로 잡히지 않아서 생겼다.* 원인 : malldbuser로 로그인하면서 처음 설정했던 root 비밀번호로 로그인한게 이유 1. CREATE DATABASEmalldb 데이터베이스를 만들어라CREATE DATABASE malldb; 2. CREATE USER새로운 생성자를 만들어라 'USER명'@'호스트명' 암호설정 '사용할암호';CREATE USER 'malldbuser'@'localhost' IDENTIFIED BY 'malldbuser'; 3. % 의 의미CR..