채택완료

그누보드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개 / 댓글 6개

채택된 답변
+20 포인트

답변에 대한 댓글 5개

해결되지않았습니다. 소스 설치하여 /usr/local/mysql/mysql.sock로 경로를 잡아놓았습니다
[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개

몇번이고 확인해봤습니다. DB정보는 제대로 적었습니다..
그리고 다른 db정보나 허위정보를 입력해도 똑같이 나옵니다.

답변을 작성하려면 로그인이 필요합니다.

🐛 버그신고