<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
pre
        {mso-style-priority:99;
        mso-style-link:"Pré-formatação HTML Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.Pr-formataoHTMLChar
        {mso-style-name:"Pré-formatação HTML Char";
        mso-style-priority:99;
        mso-style-link:"Pré-formatação HTML";
        font-family:Consolas;
        color:black;}
span.EstiloDeEmail20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor=white lang=PT-BR link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Sim você poderia fazer assim: um mysqldump das bases que vc já
tem, remover os pacotes com o yum remove, instalar os pacotes novos como te
coloquei e aí restaurar as bases. :D<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>De:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'> centos-pt-br-bounces@centos.org
[mailto:centos-pt-br-bounces@centos.org] <b>Em nome de </b>"Fábio
Jr."<br>
<b>Enviada em:</b> terça-feira, 24 de novembro de 2009 17:45<br>
<b>Para:</b> Portuguese (Brazilian) CentOS mailing list<br>
<b>Assunto:</b> Re: [CentOS-pt-br] RES: Atualização do MySQL<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Olá Marcelo, obrigado pela resposta.<br>
<br>
Realmente, desta maneira não havia tentado. Fiz o teste agora a tarde, e
infelizmente não foi possível fazer a atualização. Segue a saída do comando:<br>
<br>
<code><span style='font-size:10.0pt'># rpm -Uvh
MySQL-client-community-5.1.41-0.rhel5.i386.rpm
MySQL-server-community-5.1.41-0.rhel5.i386.rpm
MySQL-shared-compat-5.1.41-0.rhel5.i386.rpm </span></code><span
style='font-size:10.0pt;font-family:"Courier New"'><br>
<code>A
preparar...
########################################### [100%]</code><br>
<code> 1:MySQL-shared-compat
########################################### [ 33%]</code><br>
<br>
<code>******************************************************************</code><br>
<code>A MySQL server package (mysql-server-5.0.77-3.el5) is installed.</code><br>
<br>
<code>The current MySQL server package is provided by a different</code><br>
<code>vendor (CentOS) than MySQL AB or Sun Microsystems, Inc..</code><br>
<code>Some files may be installed to different locations, including log</code><br>
<code>files and the service startup script in /etc/init.d/.</code><br>
<br>
<code>Upgrading directly from MySQL 5.0 to MySQL 5.1 may not</code><br>
<code>be safe in all cases. A manual dump and restore using mysqldump is</code><br>
<code>recommended. It is important to review the MySQL manual's Upgrading</code><br>
<code>section for version-specific incompatibilities.</code><br>
<br>
<code>A manual upgrade is required.</code><br>
<br>
<code>- Ensure that you have a complete, working backup of your data and my.cnf</code><br>
<code> files</code><br>
<code>- Shut down the MySQL server cleanly</code><br>
<code>- Remove the existing MySQL packages. Usually this command will</code><br>
<code> list the packages you should remove:</code><br>
<code> rpm -qa | grep -i '^mysql-'</code><br>
<br>
<code> You may choose to use 'rpm --nodeps -ev <package-name>' to
remove</code><br>
<code> the package which contains the mysqlclient shared library.
The</code><br>
<code> library will be reinstalled by the MySQL-shared-compat package.</code><br>
<code>- Install the new MySQL packages supplied by Sun Microsystems, Inc.</code><br>
<code>- Ensure that the MySQL server is started</code><br>
<code>- Run the 'mysql_upgrade' program</code><br>
<br>
<code>This is a brief description of the upgrade process. Important
details</code><br>
<code>can be found in the MySQL manual, in the Upgrading section.</code><br>
<code>******************************************************************</code><br>
<code>erro: %pre(MySQL-server-community-5.1.41-0.rhel5.i386) scriptlet failed,
exit status 1</code><br>
<code>erro: install: %pre scriptlet failed (2), skipping
MySQL-server-community-5.1.41-0.rhel5</code><br>
<code> 2:MySQL-client-community
########################################### [ 67%]</code><br>
<br>
</span><br>
Pelo que pude perceber, o problema se dá porque a minha instalação do mysql foi
feita via YUM, como citei no meu primeiro e-mail. <br>
<br>
Sendo assim, o único método que poderei utilizar é a remoção do Mysql instalado
via YUM e a instalação do RPM. Este processo eu testei e funcionou
corretamente.<br>
<br>
Obrigado a todos pela ajuda.<br>
<br>
[]s<br>
Fábio Jr.<br>
<br>
<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<BR><BR>__________ Informação do ESET NOD32 Antivirus, versão da vacina 4634 (20091124) __________<BR><BR>A mensagem foi verificada pelo ESET NOD32 Antivirus.<BR><BR><A HREF="http://www.eset.com">http://www.eset.com</A><BR> </body>
</html>