>> Delete Reply from No. 26399 article
No. RE: mysql이 telnet에서는 되는데 웹상에선 안되요.

등록 2001-04-07 01:53:00 By localhost     조회 2
이름 GTO    

		# mysqp디렉토리/bin/safe_mysqld &
그런다음 해보시면 될겁니다.
 : [root@user /]# ./etc/rc.d/init.d/mysqld start
: Starting MySQL:  [  OK  ]
: [root@user /]# mysqlshow
: +-----------+
: | Databases |
: +-----------+
: | mysql     |
: | sk        |
: | test      |
: +-----------+
: [root@user /]# mysql
: Welcome to the MySQL monitor.  Commands end with ; or g.
: Your MySQL connection id is 2 to server version: 3.23.22-beta-log
:
: Type 'help' for help.
:
: mysql> exit
: Bye
: [root@user /]#                                                               
:
: 이런식으로 mysql 데몬 띄우고 mysqlshow와 mysql을 실행시키니깐
:
: 된 것 같은데 정작 웹상에서는 sql과 연결하려고 할 때
:
: Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
:  in ../db_connect.php on line 2 서버 연결 에러입니다.
:
: 이런 메세지가 나옵니다.
:
: 왜 그런지 이유를 갈켜주세요.
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved