macsplex.com 로그인

검색

조회 수 524 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 게시글 수정 내역 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 게시글 수정 내역 댓글로 가기 인쇄

데비안리눅스9의 마리아DB환경에서 DB원격접속환경을 설정할려면 다음과 같이 해주세요


1. 50-server.cnf 파일수정

 # vi /etc/mysql/mariadb.conf.d/50-server.cnf
 
bind-address           = 127.0.0.1

해당 파일에 접속하여 해당부분 앞에 주석처리

 # bind-address           = 127.0.0.1

2. MariaDB 재시작

# systemctl restart mysql

 3. MariaDB 원격접속IP추가

 # mysql -u root -p 

mysql> use mysql;

mysql> grant all privileges on *.* to '계정명'@'ip주소' identified by '계정의 비밀번호';

**삭제가 필요할때

DROP USER '계정명'@'ip주소';

4. MariaDB 원격접속IP 권한설정 확인

mysql > select host, user, password from user;

5. MariaDB 원격접속IP 권한설정 저장

mysql> flush privileges;





--------------------------------------------------광고(Advertising)-------------------------------------------------------------------------------------


TAG •

Who's DNAVI

profile

안녕하세요 macsplex.com 웹마스터 DNAVI입니다.

오픈소스를 좋아하고 컴퓨터에서 돌아가는 OS와 소프트웨어를 설치하고 웹사이트를 운영하는데 관심이 많습니다.

 

가지고 있는 제품리스트

PC  :

homebuilt computer(Intel i7-4790K, ASUS MAXIMUS Ranger Vii, AMD Radeon R290),

homebuilt computer(AMD Phenom X4 630, GIGABYTE GA-61P-S3, NVIDIA GT8600),

Apple iMac 2009 late(Intel E7600)

Apple MacMini 2018(Intel i5-8500B, A1993)

homebuilt computer(AMD Ryzen 3200G, Asrock B450 Steel Legend)

 

Notebook :

Apple Macbook Air 2022 (M2, A2681)

Lenovo LEGION 5 Pro 16ACH R7 STORM (AMD R7-5800H, NVIDIA RTX3060 laptop)

Lenovo Thinkpad T420s(Intel i5-2540M)

Apple Macbook Air 2011 Mid( i5-2467M, A1370)

 

Server :

Dell PowerEdge R420(Intel XEON E5-2407)

Dell PowerEdge R710(Intel XEON E5620 x2, 32GB)

HP Proliant Microserver Gen8(Intel XEON E3-1230V2)

 

NAS :

Synology.DS218+

BUFFALO LinkStation Live LS-XL/E

 

Smartphone:

Motorola Edge 20 pro

Apple iPhone 12

Samsung Galaxy S8

Xiaomi Redmi Note 4, Mi 8

Lenovo Phab2 Pro

Apple iPhone 5

Huawei X3, Nova Smart

Blackberry 9790

 

Tablet :

Apple iPad Air2

Samsung Galaxy Tab S7+

 

Game Console :

Sony PSP, PS3, PS4 Pro, PS5

Microsoft Xbox 360, Xbox One X

Nintendo DS Lite, 3DS XL, Switch Lite, Switch

HardKernel Odrid Go Advance Black Edition

Gamepark GP2X-F100


Debian GNU/Linux 9.0 Stretch

데비안 리눅스 9.0 스트레치

List of Articles
번호 제목
6 Debian9에서 VMware Tools 설치
» Debian 9 MariaDB 원격접속 허용
4 데비안 9.0 SSH 서버설치 file
3 데비안 9.0 APM 설치 file
2 데비안 9.0 설치이미지 다운받는곳 file
1 데비안 9.0 한국어 설치방법 file
Board Pagination Prev 1 Next
/ 1