호스트네임을 변경하셨다면, 변경된 호스트네임을
디비에도 바꿔 줘보세요.
기존의 호스트네임 필드에 '%' 라고 되어 잇는거는 그대로 놔 두시구요.
update user set host='변경된 호스트네임' where host='기존의 호스트네임' and host != '%'
update db set host='변경된 호스트네임' where host='기존의 호스트네임'
host != '%'
flush privileges;
[박현수]님이 남기신 글:
>이것은 boot.log에 기록된 내용입니다..
>호스트 이름을 못 찾아서 나는 이름 같은데..
>어떻게 수정을 해 주어야 하나요??
>현재 유동 아이피를 사용하고 있습니다..
>/etc/sysconfig/network에서 hostname을 변경한후 이런 에러가 발생하고
>있습니다..
>자세히 알려주시면 감사하겠습니다..
>그럼 좋은 하루 보내시기 바랍니다..
>
>Apr 4 10:21:08 localhost mysql_install_db: Sorry, the
>host 'localhost.localhostdomain' could not be looked up.
>Apr 4 10:21:08 localhost mysql_install_db: Please configure
>the 'hostname' command to return a correct hostname.
>Apr 4 10:21:08 localhost mysql_install_db: If you want to solve
>this at a later stage, restart this script with
>Apr 4 10:21:08 localhost mysql_install_db: the --force option
>Apr 4 10:21:08 localhost mysqld: Initializing MySQL database:
>failed
>Apr 4 10:21:11 localhost httpd: [Thu Apr 4 10:21:11 2002] [alert]
>httpd: Could not determine the server's fully qualified domain name,
>using 127.0.0.1 for ServerName
>Apr 4 10:21:11 localhost httpd:
>Apr 4 10:21:18 localhost httpd: httpd startup succeeded
>Apr 4 10:21:21 localhost proftpd: localhost.localhostdomain -
>Fatal: unable to determine IP address of `localhost.localhostdomain'.
======================================== |