install.sh fails with MySQL 5.5

Trying to install Virtualmin on CentOS 6.2 running MySQL 5.5. Is it not compatible?

Error: Package: mysql-devel-5.1.61-1.el6_2.1.x86_64 (updates)
Requires: mysql = 5.1.61-1.el6_2.1
Installed: mysql-5.5.22-1.el6.remi.x86_64 (@remi)
mysql = 5.5.22-1.el6.remi
Available: mysql-5.1.52-1.el6_0.1.x86_64 (base)
mysql = 5.1.52-1.el6_0.1
Available: mysql-5.1.61-1.el6_2.1.x86_64 (updates)
mysql = 5.1.61-1.el6_2.1

Thanks

Howdy,

Well, the install script is expecting a fresh install of CentOS – which would come with MySQL 5.1 rather than 5.5.

It looks like some custom MySQL packages installed on your system are causing conflicts with what the Virtualmin installer is trying to install.

My recommendation would be to stick with the default packages you would get with CentOS 6, and things should install cleanly for you.

Alternatively, you could always manually install the dependencies that are required – in this case, that’s the 5.5 version of the mysql-devel package.

However, I’d recommend using the CentOS provided MySQL packages rather than those coming from a third party repo.

-Eric

Thanks - rolled back to MySQL 5.1 and installed Virtualmin. Then upgraded to MySQL 5.5 and all seems fine.

I’m getting this same error as I’m using the MySQL version 5.5.22
I’m also tryinng to use the Virtualmin on CentOS 6.2

-> Processing Conflict: mysql-5.1.61-1.el6_2.1.x86_64 conflicts MySQL
-> Processing Conflict: mysql-server-5.1.61-1.el6_2.1.x86_64 conflicts MySQL-server
-> Processing Conflict: mysql-devel-5.1.61-1.el6_2.1.x86_64 conflicts MySQL-devel

Could you please help with the installation process as I’d like to keep the MySQL 5.5.22?

Thanks in advance,

More details

MySQL-server-5.5.22-1
MySQL-client-5.5.22-1
MySQL-devel-5.5.22-1
MySQL-shared-compat-5.5.22-2

Use the MySQL from Remi Collet’s repository, its a direct upgrade for PHP & MySQL and it works great, no compatibility issues at all.

Thank you very much!

Is there any problem using the MySQL Community Server files located below?
http://dev.mysql.com/downloads/mysql/#downloads
That’s where I’ve got the RPMs.

BTW, I’m using the Webmin 1.585 if it helps on something.

Technically no, but you should have removed all the CentOS supplied MySQL RPMs first.

It looks like the Oracle provided ones just overwrote then stock RPMs.

If you are looking for the most up to date MySQL just use Remi’s yum repository, its a direct upgrade and won’t cause compatibility issues. And it will also include the proper version of the php-mysql library for accessing MySQL from PHP.