방법 순서
- 모든 mysql, mariadb 설정 및 관련파일 싹다 제거(지피티와 함께)
- Mariadb 설치(brew이용)
- Brew service start
- my.cnf.default(inbound=0.0.0.0) 원래 -> 127.0.0.0
- Mysql 접속(mysql -u root -p 접속 x)
- sudo mysql_secure_installation
- 계정 생성 ‘test’@‘%’ pw : test
- 해당 계정에 권한 준다.
- Create database
sudo mysql_secure_installation


'TIL' 카테고리의 다른 글
[24.09.06] Spring Cloud MSA (5) | 2024.09.08 |
---|---|
[24.08.28] MSA 간략 정리 (0) | 2024.08.28 |
[24.08.26] Spring 간략한 구조 (0) | 2024.08.26 |
[24.08.21] Persistent Context(JPA) (0) | 2024.08.25 |
[24.08.19] SpringMybatis 내용 몇가지 간단 정리 (0) | 2024.08.19 |