>> Edit article
이름
제목
패스워드
[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