unable to install MySql Workbench - mysql

When I try to install MySql Workbench using the yum command :
yum install mysql-workbench-gpl-5.2.45-1fc17.i686.rpm
I get these errors :
Error: Package: mysql-workbench-gpl-5.2.45-1fc17.i686 (/mysql-workbench-gpl-5.2.45-1fc17.i686)
Requires: /bin/python
Error: Package: mysql-workbench-gpl-5.2.45-1fc17.i686 (/mysql-workbench-gpl-5.2.45-1fc17.i686)
Requires: libzip.so.2
Error: Package: mysql-workbench-gpl-5.2.45-1fc17.i686 (/mysql-workbench-gpl-5.2.45-1fc17.i686)
Requires: libctemplate.so.2
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
What are these errors and what do I do to install this MySql GUI tool ?

Because you are installing RedHat 6 OS base RPM. You have to upgrade or install required dependencies first. In your case upgrade/install python libzip ctemplate RPM packages.
Notes: libzip/ctemplate isn't part of RedHat 6 OS. You have to download from third party sources.

Related

How can I completely remove MySQL 8 from Redhat Linux so I can install MySQL 5?

I am trying to install MySQL 5 on a machine where there was a previous (unsuccessful) attempt to install MySQL 8.
I installed the repo for MySQL 5:
yum localinstall https://dev.mysql.com/get/mysql57-community-release-el7-9.noarch.rpm
I then ran:
yum install mysql-community-server
I get:
Error: Package: mysql-community-server-5.7.28-1.el7.x86_64 (mysql57-community)
Requires: mysql-community-common(x86-64) = 5.7.28-1.el7
Installed: mysql-community-common-8.0.18-1.el7.x86_64 (#mysql80-community)
mysql-community-common(x86-64) = 8.0.18-1.el7
How to fix this?
If I run...
yum remove mysql mysql-server
I get...
No Match for argument: mysql
No Match for argument: mysql-server
No Packages marked for removal
I needed to remove the old repo, like so...
yum remove mysql-community-common-8.0.18-1.el7.x86_64

libsasl2.so.2 error on installing MYSQL on Amazon EC2

I have installed PHP7.2 and now installing MySQL 5.7 on Amazon's instance.
wget https://dev.mysql.com/get/mysql57-community-release-el6-11.noarch.rpm
yum localinstall mysql57-community-release-el6-11.noarch.rpm
yum install mysql-community-server
getting this error on Amazon EC2:
Error: Package: mysql-community-server-5.7.24-1.el6.x86_64 (mysql57-community)
Requires: libsasl2.so.2()(64bit)
How can I resolve this dependency? and would there be any issues if I switch to MariaDB in terms of performance (as it's already a wrapper on MySQL)?

Processing dependency error when installing MySQL 5.6 on CentOS 6.5

I followed an article here https://www.digitalocean.com/community/tutorials/how-to-install-mysql-5-6-from-official-yum-repositories to install MySQL 5.6 on CentOS.
But when I run:
sudo yum install mysql-community-server
I see following errors:
Error: Package: mysql-community-server-5.6.20-4.el7.x86_64 (mysql56-community)
Requires: systemd
Error: Package: mysql-community-server-5.6.20-4.el7.x86_64 (mysql56-community)
Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
In fact, no matter how I execute yum install mysql mysql-server, I'll get the same errors. I searched online, but lack of resources mentioned what's wrong with 'systemd' and 'libstdc++.so.6' and how to solve this issue.
Before:
yum install openssh-server wget
yum -y update
List your repos and delete mysql-community...
yum repolist
Install nessary repos:
rpm -ihv http://mirror.yandex.ru/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ihv http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm
rpm --import http://rpms.famillecollet.com/RPM-GPG-KEY-remi
rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
yum install yum-priorities
Add priority=10 in this files:
vi /etc/yum.repos.d/epel.repo
vi /etc/yum.repos.d/nginx.repo
vi /etc/yum.repos.d/remi.repo
And from new repos installation will be good:
yum install mysql mysql-server
After may be doing this:
chkconfig --levels 235 mysqld on
service mysqld start
/usr/bin/mysql_secure_installation
for each of the libraries you cannot find, simply do a 'yum provides' for it, then install the package
e.g.
yum provides systemd
yum provides libstdc++.so.6
then you would do yum install systemd libstdc++ you may need to do a yum install libstdc++-<version> depending on your search results.

Problems Installing perl-DBD-MySQL

I'm having dependency problems installing perl-DBD-MySQL.
Server is running on Centos 6.4 and MySQL 5.5.31.
I ran this command
yum install perl-DBD-MySQL
Outputs:
Loaded plugins: fastestmirror, security Loading mirror speeds from
cached hostfile * base: mirror.nl.webzilla.com * extras:
mirror.nl.webzilla.com * updates: mirrors.supportex.net Setting up
Install Process Resolving Dependencies
--> Running transaction check
---> Package perl-DBD-MySQL.x86_64 0:4.013-3.el6 will be installed
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package:
perl-DBD-MySQL-4.013-3.el6.x86_64
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: perl-DBD-MySQL-4.013-3.el6.x86_64
--> Finished Dependency Resolution Error: Package: perl-DBD-MySQL-4.013-3.el6.x86_64 (base)
Requires: libmysqlclient.so.16()(64bit) Error: Package: perl-DBD-MySQL-4.013-3.el6.x86_64 (base)
Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit) You could try using --skip-broken to work around the problem You
could try running: rpm -Va --nofiles --nodigest
I noticed that I have libmysqlclient.so.18, and not libmysqlclient.so.16 on the server.
Any help is appreciated, thanks!
There's a conflict in the instaled modules on your system. Please make sure your system is up-to-date first. Use these commands:
yum upgrade -y
yum install perl-DBD-MySQL
You can fix your problem using the following command:
yum install perl-DBD-MySQL --enablerepo=*

missing mysql_config error while installing DBD::mysql

I saw Trying to install Perl-Mysql DBD, mysql_config can't be found, and tried to locate mysql_config, but didn't find it. So, I tried to install mysql-devel, and then I get this error-
[nbezzala#stats /]$ sudo yum install mysql-devel
[sudo] password for nbezzala:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.cmich.edu
* extras: holmes.umflint.edu
* updates: mirror.symnds.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mysql-devel.i386 0:5.0.77-4.el5_6.6 set to be updated
--> Processing Dependency: libmysqlclient.so.15 for package: mysql-devel
--> Processing Dependency: libmysqlclient_r.so.15 for package: mysql-devel
---> Package mysql-devel.x86_64 0:5.0.77-4.el5_6.6 set to be updated
--> Running transaction check
---> Package mysql.i386 0:5.0.77-4.el5_6.6 set to be updated
--> Processing Conflict: mysql conflicts MySQL
--> Finished Dependency Resolution
mysql-5.0.77-4.el5_6.6.i386 from base has depsolving problems
--> mysql conflicts with MySQL-server
Error: mysql conflicts with MySQL-server
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
[nbezzala#stats /]$
I had the same problem and had to install libmysqlclient-dev on my Debian linux.
That mysql_config file was in that package.
mysql v 5.5.17 was installed on the machine, and I was trying to install 5.0.77 components via yum. Thanks Alexandr.