badwolfff
asked on
What does this command mean on Centos 7 "rpm -e --nodeps --justdb"?
Could anyone please tell me what this command means on Centos 7?
rpm -e --nodeps --justdb
Also I have by accident installed two versions of MySQL on my server:
MySQL55-devel-5.5.42-4.cp1 148.x86_64
and
mysql-community-client-5.6 .25-2.el7. x86_64
via two commands:
I was following some installation tutorial and by accident installed both. How do I get rid of one of them and which would you recommend me to remove as I would prefer the best of the two.
thanks in advance
rpm -e --nodeps --justdb
Also I have by accident installed two versions of MySQL on my server:
MySQL55-devel-5.5.42-4.cp1
and
mysql-community-client-5.6
via two commands:
sudo rpm -Uvh http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
sudo yum -y install mysql-community-server
and separately
sudo yum install php-mysql
sudo yum --enablerepo=remi,remi-php56 install php-pecl-apcu php-cli php-pdo php-mysqlnd php-pgsql php-pecl-mongo php-sqlite php-pecl-memcache php-pecl-memcached php-gd php-mbstring php-xml
I was following some installation tutorial and by accident installed both. How do I get rid of one of them and which would you recommend me to remove as I would prefer the best of the two.
thanks in advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Does your system already have mysql installed?
Because using rpm -Uvh will upgrade a package, not "install it"
If you want to install use "rpm -ivh"
Try finding the package with "rpm -qi <name-of-package>"
For example: rpm -qi mysql
See what is listed.
Because using rpm -Uvh will upgrade a package, not "install it"
If you want to install use "rpm -ivh"
Try finding the package with "rpm -qi <name-of-package>"
For example: rpm -qi mysql
See what is listed.
ASKER
sudo rpm -Uvh http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
sudo yum -y install mysql-community-server
Right?
Also how do I find and uninstall the other one?
Just out of curiosity. That non-development release ouf of the two here, which version it is?
I need 5.6.