MySQL 5.5 install conflicting - mysql

I am trying to install MySQL 5.5 on my CentOS machine, but when running yum install I get the following:
file /usr/share/mysql/slovak/errmsg.sys from install of mysql-libs-5.5.27-1.el5.remi.x86_64 conflicts with file from package mysql51-libs-5.1.65-1.ius.el5.x86_64
file /usr/share/mysql/spanish/errmsg.sys from install of mysql-libs-5.5.27-1.el5.remi.x86_64 conflicts with file from package mysql51-libs-5.1.65-1.ius.el5.x86_64
file /usr/share/mysql/swedish/errmsg.sys from install of mysql-libs-5.5.27-1.el5.remi.x86_64 conflicts with file from package mysql51-libs-5.1.65-1.ius.el5.x86_64
file /usr/share/mysql/ukrainian/errmsg.sys from install of mysql-libs-5.5.27-1.el5.remi.x86_64 conflicts with file from package mysql51-libs-5.1.65-1.ius.el5.x86_64
It did have MySQL 5.1 installed, but I thought I had removed it, help much needed.

Just remove mysql51-libs-5.1.65-1.ius.el5.x86_64
rpm -qa | grep mysql51-libs
rpm -e <what you find>
Maybe there will be some dependencies, so remove them also before installing new version.
Never mix-up repos.Use official repos only to avaiod such situations.

Related

mysql_config not found with mysql-community on CentOS 7

I need to install mysqlclient module for python3.6 on my CentOS server via pip.
The instalation breaks with following error: OSError: mysql_config not found.
I've found a solution, to install mysql-devel package, but unfortunately it breaks with following error:
Error: mariadb101u-config conflicts with mysql-community-server-8.0.4-0.1.rc.el7.x86_64
Error: mariadb101u-libs conflicts with mysql-community-libs-8.0.4-0.1.rc.el7.x86_64
Error: mariadb101u-libs conflicts with mysql-community-libs-compat-8.0.4-0.1.rc.el7.x86_64
Error: mariadb101u-common conflicts with mysql-community-common-8.0.4-0.1.rc.el7.x86_64
I cannot remove the mysql-community packages, because the server is running MySQL database based on that.
Is there any way to fix it without removing conflicting packets?
Ok, found an answer:
yum install mariadb-devel gcc python36u-devel
Solution by #Djent worked for me.
But I kept on receiving time out error while installing through yum. If you are having the same problem. You can manually download the package and install it!
On CentOS
wget https://archive.mariadb.org/mariadb-10.1.39/yum/centos7-amd64/rpms/MariaDB-10.1.38-centos73-x86_64-devel.rpm
rpm -i MariaDB-10.1.38-centos73-x86_64-devel.rpm
For other linux OS, you can find mariadb-devel at https://pkgs.org/download/mariadb-devel
First run the command (take note of python version):
sudo yum install python36-devel
Then install mysqlclient using pip.

Uninstall Share Lib In Linux

I have tried to install MYSQL 5.6.29 on Linux Centos and installed file "MySQL-shared-5.6.29-1.linux_glibc2.5.x86_64" but i found its wrong file which i have installed. Now when i am trying to install correct file "MySQL-shared-5.6.29-1.el6.x86_6" then getting below error.
/usr/share/doc/MySQL-shared-5.6.29/README from install of MySQL-shared-5.6.29-1.el6.x86_64 conflicts with file from package MySQL-shared-5.6.29-
1.linux_glibc2.5.x86_64
My installation was incomplete and only able to install 3 rpm packages. I run "yum remove mysql" but its un-install only one package please guide me to find & un-install MYSQL related packages.
issue fixed through these commands:
rpm -qa|grep -i SQL -- find installed rpm packages
rpm -e -- find installed package and then place the package name
rpm -i package_name.rpm -- to install packages
yum remove mysql-libs

Conflict installing XMind 3.6.0 from RPM on Fedora 23

I am trying to solve problem installing XMind 3.6.0 RPM on Fedora 23.
I have downloaded the .deb package from XMind webpage.
Than, I have converted it to RPM package with Alien, to be able to install it on Fedora with help of this manual.
sudo alien -r -c xmind-3.6.0-2.x86_64.deb
and than install the generated RPM package
sudo rpm -ivh xmind-3.6.0-2.x86_64.rpm
but I keep getting the error message:
Preparing... ################################# [100%]
file /usr/bin from install of xmind-3.6.0-2.x86_64 conflicts with file from package filesystem-3.2-35.fc23.x86_64
file /usr/lib from install of xmind-3.6.0-2.x86_64 conflicts with file from package filesystem-3.2-35.fc23.x86_64
Does anybody know, how to resolve this conflict?
Thanks,
shimon
I was unable to solve the error described in my post. However, I have found a way to install XMind 7 (3.6.0) on Fedora 23.
Following this page.
The problem is, the xmind binaries structure has changed since this article. So the commands needed are little bit different.
Download Xmind portable version from Xmind web page - http://www.xmind.net/xmind/downloads/xmind7-portable-3.6.0.R-201511090408.zip
Extract it to directory ~/xmind_portable, then cd ~/xmind_portable
Untar the data.tar.gz tar -xf data.tar.gz
Move desktop launcher sudo mv ./usr/share/applications/xmind.desktop /usr/share/applications
sudo mv ./usr/share/mime/packages/xmind.xml /usr/share/mime/packages/
Move application data sudo mv ./usr/lib/xmind/ /opt/
Update mime DB sudo update-mime-database /usr/share/mime/
Make a link to your bin
sudo ln -s /opt/xmind/XMind /usr/local/bin/xmind
Then use it!
xmind

Downgrade Mysql 5.5.9 to 5.1 on Ubuntu 14.04

After upgrading to Ubuntu 14.04 Mysql 5.5.9 is incompatible with some of my scripts. I need to re-install Mysql 5.1. I tried research online but no luck
When I do
apt-get install mysql-server-5.1 mysql-client-5.1
Package mysql-server-5.1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
mysql-server-core-5.5:i386 mysql-server-5.5:i386 mysql-server-core-5.5
mysql-server-5.5
E: Package 'mysql-server-5.1' has no installation candidate
E: Package 'mysql-client-5.1' has no installation candidate
Tried to find multiverse source but no luck,
Anyone?
Uninstall existing mysql
sudo apt-get remove mysql-server
Download the MySQL APT repository config tool (as root)
wget http://dev.mysql.com/get/mysql-apt-config_0.3.5-1debian8_all.deb
Install the MySQL APT repository config tool
dpkg -i mysql-apt-config_0.3.5-1debian8_all.deb
Update APT
apt-get update
Install the server
apt-get install mysql-community-server
Thereby you can select the server you need and install

linux mysql-server can't find mysql_config

I have a running (in production) mysql instance on my linux server (ubuntu-10.10) however I cannot find my mysql_config file.
command and output:
~$ locate mysql_config
~$
I've heard/read that I need the libmysqlclient-dev package installed to be able to use mysql_config but I don't want to break my current production instance. I want to make sure installing this dev package is not going to have adverse effects on my current mysql databases.
Furthermore, where can I find the source download for libmysqlclient-dev to install manually? In my current situation (behind corporate proxy) I am not permitted to use apt-get's.
UPDATE
this is stemming from attempting to install python-MySQLdb from source. the setup.py file is requiring the mysql_config path and continues to break when trying to use anything but that file.
The mysql_config executable is by default located in the bin directory of the MySQL server installation if you install it from precompiled binaries. But if you install it using apt-get it may not exist on your server.
Try:
sudo apt-get install libmysqlclient-dev
yum install mariadb-devel works for Centos 7 too, this puts the mysql_config into all the places that pip install mysqlclient requires/looks for it.
In Ubuntu 13.04 installation, it is at /usr/bin/mysql_config
Try /etc/my.cnf, that is the standard file for mysql config.
You can also do:
find / -name my.cnf -type f
On Fedora, install the mariadb-devel package, and you should have the binary.