[root@ns master]# killall mysqld
[root@ns master]# safe_mysqld &
[1] 847
[root@ns master]# Starting mysqld daemon with databases from /var/lib/mysql
mysqld daemon ended
[1]+ Done safe_mysqld
[root@ns master]#
ended되는 이유를 찾을 수가 없습니다.
/var/lib/mysql/xxxx.com.err
파일의 내용입니다.
mysqld started on Mon Jul 24 11:27:24 KST 2000
mysqld ended on Mon Jul 24 11:27:24 KST 2000
/usr/sbin/mysqld: ready for connections
000728 2:10:26 /usr/sbin/mysqld: Normal shutdown
000728 2:10:26 /usr/sbin/mysqld: Shutdown Complete
mysqld started on Fri Jul 28 07:57:32 KST 2000
mysqld ended on Fri Jul 28 07:57:32 KST 2000
/usr/sbin/mysqld: ready for connections
000808 16:48:32 /usr/sbin/mysqld: Normal shutdown
000808 16:48:32 /usr/sbin/mysqld: Shutdown Complete
mysqld started on Tue Aug 8 16:48:14 KST 2000
mysqld ended on Tue Aug 8 16:48:14 KST 2000
/usr/sbin/mysqld: ready for connections
000811 13:50:07 /usr/sbin/mysqld: Normal shutdown
에러로그 파일만으로는 해결책을 찾지 못하고 있습니다.
쉘상에서는 mysql -u계정 -p암호 이렇게 해서
접속이 잘되고 사용상 문제가 없습니다.
문제는 웹에서 php의 mysql_connect()함수를 사용하거나
safe_mysqld &를 했을때 ended되는 것입니다.
Warning: MySQL Connection Failed: Host '' is not allowed to connect to this MySQL server in /home/myweb/따따따/oll.
html on line 2 이런문구가 나옵니다. 웹에서는.
아시는 분의 도움말을 기다립니다.