TIL

[24.08.27] Mac MariaDB 설치 및 외부 연결

DongHo 2024. 8. 28. 17:33

방법 순서

  1. 모든 mysql, mariadb 설정 관련파일 싹다 제거(지피티와 함께)
  2. Mariadb 설치(brew이용)
  3. Brew service start
  4. my.cnf.default(inbound=0.0.0.0) 원래 -> 127.0.0.0
  5. Mysql 접속(mysql -u root -p 접속 x)
  6. sudo mysql_secure_installation
  7. 계정 생성 ‘test’@‘%’ pw : test
  8. 해당 계정에 권한 준다.
  9. 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