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
- python3
- Boto3
- list to set
- zip()
- list.pop(0)
- 피보나치 수
- 프로그래머스
- RecursionError
- list.sorted()
- permutations
- COUNT
- homebrew-core is a shallow clone.
- Python
- Python 몫
- sting position
- Unknown command: cask
- sort()
- Algorithm
- Modified Date
- cask
- 알고리즘
- Split
- List
- index
- List 초기화
- List to String
- Python 나머지
- set to list
- 알고리즘 풀이
- string
Archives
- Today
- Total
데이터와 코드로 세상을 바라봅니다.
[Mac OS] :: ERROR! MariaDB is not running, but PID file exists 본문
Toy Project 진행에 필요한 MariaDB를 Home Brew를 통해서 설치하였다.
설치 후 상태 점검을 위해 명령어를 날려보니 다음과 같은 에러가 발생하였다.
(base) ********-MacBook-Pro:~ macbook$ mysql.server status
ERROR! MariaDB is not running, but PID file exists
해당 명령어는 프로세스가 잘 떠 있는지 확인하는 명령어이다.
원인을 몰라서 찾아본 결과 다음과 같은 확인 방법을 알게 되어 정리해 본다.
macOS 에서 Homebrew를 통한 mariadb설치시에는
mysql.server 명령어가 아닌 brew services [명령어] mariadb 를 통해 처리해야합니다.
아래의 대체코드를 사용하시면 될듭합니다.
mysql.server start //대신 brew services start mariadb
mysql.server stop //대신 brew services stop mariadb
mysql.server status //대신 brew services list
** 댓글을 남겨주신 Daserfront 님께 감사를 전한다.
OKKY | MAC에서 MARIA DB 설치가 너무 안되네요
분명 설치와 mysql.server start 까지 성공적으로 되었는데 상태조회를 해보면 mysql is not running 이라고 뜨네요(별다른 오류도 없고 ). mysql -u root 접속은 access denied 로 막혀있고 며칠째 헤메는 도와
okky.kr
'Code > Mac OS' 카테고리의 다른 글
[Mac OS] :: ERROR 1698 (28000): Access denied for user 'root'@'localhost' (0) | 2021.04.25 |
---|---|
[MAC OS] OPEN JDK 설치하기 (0) | 2021.03.14 |