Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- 트라이 #trie #알고리즘
- CleanCode
- 튜플
- jdbc
- Python
- Spring Boot
- trie
- 징검다리 건너기
- 보행자 천국
- pycon
- 티스토리
- 티스토리 open api
- 트라이
- 알고리즘
- 프로그래머스
- 크레인 인형뽑기 게임
- Tistory
- Open API
- 불량 사용자
- 가사 검색
- bulk update
- 카카오 인턴
- 호텔 방 배정
Archives
- Today
- Total
택시짱의 개발 노트
mysql - ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) 해결 본문
SQL
mysql - ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) 해결
택시짱 2022. 2. 13. 20:26집에 남는 데스크톱에 centos7를 설치하여 서버를 운영하고 있는데
어느날 갑자기 mysql로그인이 안됬다.. 아래와 같이..
찾다보니 좋은 사이트를 찾았고 문제를 해결 했다.
https://www.linuxquestions.org/questions/linux-newbie-8/mysqld_safe-command-not-found-4175642427/
[root@localhost ~]# systemctl stop mysqld
[root@localhost ~]# systemctl set-environment MYSQLD_OPTS="--skip-grant-tables"
[root@localhost ~]# systemctl start mysqld
[root@localhost ~]# mysql -u root
mysql -u root 하니까 mysql에 접속이 되는것을 확인할 수 있다.
반응형
'SQL' 카테고리의 다른 글
Database 인덱스(index)가 뭐지..? (0) | 2022.02.24 |
---|---|
LEFT JOIN, RIGHT JOIN (0) | 2020.07.15 |
Comments