kangfredy Posted September 10, 2013 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
Asura Posted September 10, 2013 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
Asura Posted September 10, 2013 Posted September 10, 2013 Hi kangfredy, What operating system do you have? Please be specific. Quote
kangfredy Posted September 10, 2013 Author 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
Protimus Posted September 10, 2013 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
kangfredy Posted September 11, 2013 Author 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
Asura Posted September 11, 2013 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
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
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.