그누보드5 설치중 오류 질문입니다

그누보드5 설치중 오류 질문입니다

QA

그누보드5 설치중 오류 질문입니다

본문

1028587114_1588665048.3119.png

그누보드 설치 초기환경설정 화면에서

db정보 입력하면 이렇게 오류가 뜹니다...

 

db정보는 서버에서 그대로 들어가지는 것을 확인하였고
mysql.socket 위치도 /usr/local/mysql/mysql.sock 입니다만...
계속 해당 오류가 뜹니다

 

mysql 5.6.30

apache 2.4.43

php 5.6.25 

입니다

이 질문에 댓글 쓰기 :

답변 2

[root@jhp_test ~]# /usr/local/mysql/bin/mysql -u root -p mysql -S /var/lib/mysql/mysql.sock
Enter password : *******
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 7
Server version : 5.1.32 Source distribution

Type 'help' or '\h' for help. Type '\c' to clear the buffer.

mysql >

방화벽도 확인해보세요.

[root@op-36 ~]# mysql -uroot -p mysql -S /usr/local/mysql/mysql.sock
Enter password:
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.6.30 Source distribution

Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>


이렇게 나오며 방화벽은 다 꺼져있는 상태입니다 ㅠㅠ

해결했습니다.. php.ini에서 mysql.sock 경로 설정을 해주었었는데
php 설정파일 경로가 잘못되어 있어서 php.ini을 읽지않고 있어서 일어난 문제였습니다.
경로 설정 다시 해주고 php.ini 읽어서 정상 작동되었습니다
댓글 감사하였습니다.

DB 정보가 틀릴 때 발생하는 오류입니다.

다시 한번 제대로 적은 건지 확인해 보세요.

답변을 작성하시기 전에 로그인 해주세요.
전체 1,509
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT