티스토리 뷰
워크벤치로 내부네트워크로 연결 시도하는데 오류가 나길래 검색해보니 bind_address 이값을 0.0.0.0으로 변경해야한다함
대부분의 글에 파일 위치는 /etc/my.cnf 인데 이경로에 파일이 없음..
/etc/mysql/my.cnf 에 파일이 있으나 아래 내용처럼 되어있음.
1 # The MariaDB configuration file
2 #
3 # The MariaDB/MySQL tools read configuration files in the following order:
4 # 1. "/etc/mysql/mariadb.cnf" (this file) to set global defaults,
5 # 2. "/etc/mysql/conf.d/*.cnf" to set global options.
6 # 3. "/etc/mysql/mariadb.conf.d/*.cnf" to set MariaDB-only options.
7 # 4. "~/.my.cnf" to set user-specific options.
8 #
9 # If the same option is defined multiple times, the last one will apply.
10 #
11 # One can use all long options that the program supports.
12 # Run program with --help to get a list of available options and with
13 # --print-defaults to see which it would actually understand and use.
14
15 #
16 # This group is read both both by the client and the server
17 # use it for options that affect everything
18 #
19 [client-server]
20
21 # Import all .cnf files from configuration directory
22 !includedir /etc/mysql/conf.d/
23 !includedir /etc/mysql/mariadb.conf.d/
/etc/mysql/mariadb.conf.d/50-server.cnf
위 경로파일을 열면 bind_address설정이 보임..
수정 후에 mysql 재시작으로 적용이 안됨 재부팅 후 정상 연결 확인
'serverSide > Linux' 카테고리의 다른 글
[NGINX LOG] 로그 분석 goaccess (0) | 2018.02.23 |
---|---|
[ubuutu 16.04] moodle 3.3.1 설치 (0) | 2017.09.07 |
우분투 CIFS PHP 업로드 시 권한 (0) | 2017.05.10 |
우분투16.04 + php7 + MSSQL2005 연동 (2) | 2017.04.14 |
CentOS7 + PHP7 + nginX + MSSQL2005 + CodeIgniter3.1.4 (0) | 2017.04.14 |