Unix Technical Forum

What mysql 5.0 binary relase use for CentOS 4.4 Pentium?

This is a discussion on What mysql 5.0 binary relase use for CentOS 4.4 Pentium? within the MySQL General forum forums, part of the MySQL category; --> 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 ...


Go Back   Unix Technical Forum > Database Server Software > MySQL > MySQL General forum

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 10:19 PM
informatica@esanluis.com
 
Posts: n/a
Default What mysql 5.0 binary relase use for CentOS 4.4 Pentium?

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



Then I install mysql-standard-5.0.24a-linux-i686.tar.gz and says the same
when I execute mysql_install_db.



Sorry, the host 'xxxx' could not be looked up



Aside from not could use hostnames what from these releases is best for me?



Iago.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 10: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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 10:19 PM
Visolve DB Team
 
Posts: n/a
Default Re: What mysql 5.0 binary relase use for CentOS 4.4 Pentium?

Hi,

If you get

" Sorry, the host 'xxxx' could not be looked up " error message when you run mysql_install_db, or if you get the
" getpwnam: No such file or directory " error message while running mysqld with --user option,

Then try any of these solutions:

a.. Get a MySQL source distribution either an RPM or the tar.gz distribution and install this instead.
b.. Execute mysql_install_db --force; This will not execute the resolveip test in mysql_install_db. The downside is that you can't use host names in the grant tables; you must use IP numbers instead of host names except for localhost. If you are using an old MySQL release that doesn't support --force, you have to remove the resolveip test in mysql_install with an editor.
c.. Start mysqld with su instead of using --user.


Thanks
ViSolve DB Team.

----- Original Message -----
From: <informatica@esanluis.com>
To: "MySql Mail List" <mysql@lists.mysql.com>
Sent: Thursday, September 21, 2006 9:27 PM
Subject: What mysql 5.0 binary relase use for CentOS 4.4 Pentium?


> 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
>
>
>
> Then I install mysql-standard-5.0.24a-linux-i686.tar.gz and says the same
> when I execute mysql_install_db.
>
>
>
> Sorry, the host 'xxxx' could not be looked up
>
>
>
> Aside from not could use hostnames what from these releases is best for me?
>
>
>
> Iago.
>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-27-2008, 10:19 PM
informatica@esanluis.com
 
Posts: n/a
Default RE: What mysql 5.0 binary relase use for CentOS 4.4 Pentium?

Finally I have an erroneous /etc/hosts file.

But aside from that what of the realeses is best suited for a CentOS 4.4
Double Pentium III 1.0 Ghz?

* 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

The first is compiled statically with glibc-2.2 and the second is compiled
dinamically against glibc-2.3. CentOS 4.4 uses glibc-2.3. Then which is the
best suited?

For update is more easier using rpm relases but If I want to downgrade to
the previous version I only have to change the symbolic link mysql in
/usr/local/mysql to the directory of the previous version if I use binary
instead of rpm releases. That works because I use another director for data
thant /usr/local/mysql/data. Could I do these with rpm?


-----Mensaje original-----
De: Chris [mailto:dmagick@gmail.com]
Enviado el: viernes, 22 de septiembre de 2006 2:19
Para: informatica@esanluis.com
CC: MySql Mail List
Asunto: 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:28 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com