답변 2개
채택된 답변
+20 포인트
5년 전
https://www.google.co.kr/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&ved=2ahUKEwiA_7D3spzpAhXDLqYKHX-4DWoQFjABegQIChAB&url=https%3A%2F%2Fmyblog.opendocs.co.kr%2Farchives%2F479&usg=AOvVaw3nCbPEFSvYjEkyTPk6Bsvf">https://www.google.co.kr/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&ved=2ahUKEwiA_7D3spzpAhXDLqYKHX-4DWoQFjABegQIChAB&url=https%3A%2F%2Fmyblog.opendocs.co.kr%2Farchives%2F479&usg=AOvVaw3nCbPEFSvYjEkyTPk6Bsvf
로그인 후 평가할 수 있습니다
답변에 대한 댓글 5개
i
imwkdrh
5년 전
해결되지않았습니다. 소스 설치하여 /usr/local/mysql/mysql.sock로 경로를 잡아놓았습니다
�
들레아빠
5년 전
[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 >
방화벽도 확인해보세요.
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 >
방화벽도 확인해보세요.
i
imwkdrh
5년 전
[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>
이렇게 나오며 방화벽은 다 꺼져있는 상태입니다 ㅠㅠ
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>
이렇게 나오며 방화벽은 다 꺼져있는 상태입니다 ㅠㅠ
i
imwkdrh
5년 전
해결했습니다.. php.ini에서 mysql.sock 경로 설정을 해주었었는데
php 설정파일 경로가 잘못되어 있어서 php.ini을 읽지않고 있어서 일어난 문제였습니다.
경로 설정 다시 해주고 php.ini 읽어서 정상 작동되었습니다
댓글 감사하였습니다.
php 설정파일 경로가 잘못되어 있어서 php.ini을 읽지않고 있어서 일어난 문제였습니다.
경로 설정 다시 해주고 php.ini 읽어서 정상 작동되었습니다
댓글 감사하였습니다.
�
들레아빠
5년 전
해결이 되었다니 제 속이 다 시원합니다.
수고 하셨어요.
수고 하셨어요.
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인