kangfredy Posted September 10, 2013 Group: Members Topic Count: 112 Topics Per Day: 0.02 Content Count: 388 Reputation: 4 Joined: 05/01/12 Last Seen: October 25, 2022 Share Posted September 10, 2013 (edited) guys can u help me how to reinstall mysql?(include mysql-devel,mysql-lib)...and how to set my install from yum maximum version of this is 5.0 not 5.5. because my mysql now is 5.5 O_Oa..(i just install from yum)and then i can't recomplie it now.(rathena) preview my compile configure: error: MySQL not found or incompatible Edited September 10, 2013 by kangfredy Quote Link to comment Share on other sites More sharing options...
Asura Posted September 10, 2013 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 707 Reputation: 168 Joined: 01/26/12 Last Seen: February 7, 2014 Share Posted September 10, 2013 Hi kangfredy, Protimus is definitely right. But I'll be more specific... please back up all your MySQL databases before attempting to do this. yum -y remove mysql* rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm yum --enablerepo=remi -y install mysql mysql-server mysql-devel chkconfig --levels 235 mysqld on mysql_secure_installation 3 Quote Link to comment Share on other sites More sharing options...
Asura Posted September 10, 2013 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 707 Reputation: 168 Joined: 01/26/12 Last Seen: February 7, 2014 Share Posted September 10, 2013 Hi kangfredy, What operating system do you have? Please be specific. Quote Link to comment Share on other sites More sharing options...
kangfredy Posted September 10, 2013 Group: Members Topic Count: 112 Topics Per Day: 0.02 Content Count: 388 Reputation: 4 Joined: 05/01/12 Last Seen: October 25, 2022 Author Share Posted September 10, 2013 (edited) Hi kangfredy, What operating system do you have? Please be specific. im using centos 5.9 Edited September 10, 2013 by kangfredy Quote Link to comment Share on other sites More sharing options...
Protimus Posted September 10, 2013 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 198 Reputation: 102 Joined: 11/13/11 Last Seen: May 4, 2014 Share Posted September 10, 2013 First you need remove all mysql packages and dependencies, after you will install a new version of mysql via other yum repository create by CentOS users, like remi-repo. Use "yum remove" to remove old rpms or "rpm -e" command, afeter remove the packages you will be able to install a remi-repo. Quote Link to comment Share on other sites More sharing options...
kangfredy Posted September 11, 2013 Group: Members Topic Count: 112 Topics Per Day: 0.02 Content Count: 388 Reputation: 4 Joined: 05/01/12 Last Seen: October 25, 2022 Author Share Posted September 11, 2013 Hi kangfredy, Protimus is definitely right. But I'll be more specific... please back up all your MySQL databases before attempting to do this. yum -y remove mysql* rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm yum --enablerepo=remi -y install mysql mysql-server mysql-devel chkconfig --levels 235 mysqld on mysql_secure_installation but sir how to backup from ssh??first time using ssh to backup.because from phpmyadmin is only read (if i'm import) maximum only 2mb. Quote Link to comment Share on other sites More sharing options...
Asura Posted September 11, 2013 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 707 Reputation: 168 Joined: 01/26/12 Last Seen: February 7, 2014 Share Posted September 11, 2013 Hi kangfredy, Use this command... (please replace all CAPITALIZED phrases with your own correct values) mysqldump -u USERNAME -p, --password=PASSWORD DATABASE_NAME > FILE_NAME.sql Quote Link to comment Share on other sites More sharing options...
Question
kangfredy
guys can u help me how to reinstall mysql?
(include mysql-devel,mysql-lib)...
and how to set my install from yum maximum version of this is 5.0 not 5.5.
because my mysql now is 5.5 O_Oa..(i just install from yum)
and then i can't recomplie it now.(rathena)
preview my compile
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.