View Single Post

   
  #2 (permalink)  
Old 02-27-2008, 09:19 PM
Chris
 
Posts: n/a
Default Re: What mysql 5.0 binary relase use for CentOS 4.4 Pentium?

informatica@esanluis.com wrote:
> Hi.
>
>
>
> What binary relase use for CentOS 4.4:
>
>
>
> * Linux (x86, glibc-2.2, "standard" is static, gcc):
> mysql-standard-5.0.24a-linux-i686.tar.gz
> * Linux (x86): mysql-standard-5.0.24a-linux-i686-glibc23.tar.gz
>
>
>
> In http://dev.mysql.com/doc/refman/5.0/...tes-linux.html says that
> it is possible that mysql couldn't resolves ips for hostnames.
>
>
>
> First I install mysql-standard-5.0.24a-linux-i686-glibc23.tar.gz and
> executing mysql_install_db it says:
>
>
>
> Sorry, the host 'xxxx' could not be looked up


If you read that page:

You can deal with this by executing mysql_install_db --force, which does
not execute the resolveip test in mysql_install_db. The downside is that
you cannot use hostnames in the grant tables: except for localhost, you
must use IP numbers instead. If you are using an old version of MySQL
that does not support --force, you must manually remove the resolveip
test in mysql_install using a text editor.

Basically your DNS is stuffed and mysql can't look up hostnames.


Why aren't you using the rpms? They are much easier to deal with when it
comes time to upgrade.
Reply With Quote