>> Edit article
이름
제목
패스워드
86246글에서 보시면 알겠지만 Mysql문제로 인해서 새로 깔고 php를 가동해보았습니다. 근데 아니나 다를까... 또다시 php연동 문제가 발생하였습니다. 아래파일은 db_conn.php입니다. <? $conn=mysql_connect("localhost","goo****","goo*****"); if(!$conn){ echo("fail"); }else{ echo("success"); } ?> 웹에서 실행하였을 때 입니다. Warning: Access denied for user: 'goo***@localhost.localdomain' (Using password: YES) in /home/goo***/public_html/db_conn.php on line 2 Warning: MySQL Connection Failed: Access denied for user: 'goo****@localhost.localdomain' (Using password: YES) in /home/goo***/public_html/db_conn.php on line 2 fail 콘솔에서 그냥 mysql접속하였을때 입니다. [root@goo*** /root]# mysql -ugoo*** -p Enter password: Welcome to the MySQL monitor. Commands end with ; or g. Your MySQL connection id is 6 to server version: 3.23.46 Type 'help;' or 'h' for help. Type 'c' to clear the buffer. mysql> 잘됩니다. php_configure_option => ./configure --prefix=/usr/local/php --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql 물론 phpinfo();가 작동 되는것을 확인 했습니다..... 어떻게 된일일까요?....
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved