Michal Hrušecký

...about me, Linux and OpenSource

MySQL in openSUSE 11.3

Original title was 'MySQL dropped from openSUSE!!!'. I wanted to have some shocking title, but I changed it as I don't really want to scare you so much face-wink.png But it is partially true, there is no mysql package in openSUSE anymore. But of course we DID NOT really dropped MySQL. In fact, we now have more MySQL in openSUSE then we ever had! Do I got your attention? Read on face-wink.png

What and why?

What really happened is that I renamed original MySQL package. Now it is called mysql-community-server. If you take a look at SUN/Oracle web, they call it like this for a long time, so it makes a little sense... As a result, there is no real package called mysql in openSUSE anymore. But mysql-community-server provides mysql so even if you try to install mysql, it will work. This change also have one funny consequence. Do you remember package mysql-client? Now it's called mysql-community-server-client face-smile-big.png

Why such a change? I haven't done something like this just because such a little difference in the naming of packages. No, I had some other plans as well. Reason to rename original MySQL package was to provide some space for other possible mysql providers. And we have them in 11.3! These other providers are MariaDB and MySQL Cluster. So now you can choose which MySQL do you want face-wink.png And as all of them provides the same symbol, namely mysql, you can use whichever you want to satisfy dependencies. But the default one is still mysql-community-server. So if you don't need anything special, nearly nothing changed for you.

Alternatives

So let's take a brief look at what MySQL Community Server alternatives do we now have in openSUSE...

MariaDB

MariaDB LogoMariaDB is a backward compatible, drop-in replacement branch of the MySQL Database Server. That means that differences in the user interface are minimal. You probably wouldn't even notice on the first sight if they get replaced. So what are the differences? The best way is to read official page about differences:

http://askmonty.org/wiki/MariaDB_versus_MySQL

Basically MariaDB incorporates many community provided patches out there and some more bleeding edge storage engines. If you want to try it, you can simply type

zypper in mariadb

And zypper will take care of conflicts and replace your MySQL with Maria. If you want to get back to MySQL, it's similarly simple, just use

zypper in mysql-community-server

MySQL Cluster

MySQLOther MySQL alternative is MySQL Cluster. This should provide real clustering support for MySQL. And it is also distributed and maintained by Oracle. If you are interested in HA, you have many servers, you might be interested in this. For more information check official web (we included version 7.0 in 11.3):

http://www.mysql.com/products/database/cluster/

If you want to try it, you can simply type

zypper in mysql-cluster

And zypper will take care of conflicts and replace your ordinary MySQL with MySQL Cluster. If you want to get back to MySQL, it's similarly simple, just use

zypper in mysql-community-server

#1 Re: MySQL in openSUSE 11.3

Chris Hills, <E-Mail> / Monday 31 May 2010 10:20pm  
avatar

If the client is called "mysql-community-server-client" then should not the server be called "mysql-community-server-server"?

[ Reply (0) ]

#2 Re: MySQL in openSUSE 11.3

Marius, <E-Mail> / Sunday 06 June 2010 10:02am  
avatar

I agree with the above comment the client should be called just "mysql-community-client".
But, it doesn't really matter, i was wondering about the default presence of mariadb in the repo, now that oracle have taken over. Once i upgrade all my servers to 11.3, i'm switching to mariadb right away.

[ Reply (1) ]

#2.1 Re: Re: MySQL in openSUSE 11.3

Michal Hrušecký, <E-Mail> / Monday 07 June 2010 11:04am  
avatar

Well, Oracle said, that they wanted MySQL and that it fits nicely their business model, so I wouldn't be afraid that it will go away. But MariaDB is interesting alternative for sure ;-)

[ Reply (0) ]

#3 Re: MySQL in openSUSE 11.3

vasu, <E-Mail> / Friday 13 August 2010 8:45am  
avatar

Thats fantastic!! But if you can also give us how to start, stop & restart all these servers. especially mysql community client.. that would be more useful..!!!

[ Reply (1) ]

#3.1 Re: Re: MySQL in openSUSE 11.3

Michal Hrušecký, <E-Mail> / Monday 16 August 2010 1:35pm  
avatar

Well, as for client, you can access it by typing mysql in your command prompt, but otherwise everything stays the same, you can for all servers use rcmysql to controll them.

For more inforamtion, you can use

http://en.opensuse.org/Portal:MySQL

And it's HowTo at the end of the page...

[ Reply (0) ]

Leave a Comment

Write the captcha code you are seeing.

Comment XML feeds: RSS | Atom

openSUSE Conference 2010

Identica

Ohloh Journal for Michal Hrušecký

  • Finally pushed Affisix version that supports variables in the way I'm satisfied with. Time to get back to the documentation fixing ;-)
    4 days ago :: link
  • Article about Affisix was acceptet for ITAT 2010! Time to fix everything that reviewers complained about!
    71 days ago :: link
  • Abstract for ITAT2020 about Affisix sent, working on the article now...
    101 days ago :: link
  • Just commited basit filter mode support to the Affisix repository. It is still missing a lot of features, but the basics are already there!
    127 days ago :: link
  • One more note about affisix - backward entropy works now as well. So after school exams, I can start implementing new features and fixing broken ones...
    194 days ago :: link

Emblems

Powered By Jaws Project
Supports RSS2
Supports Atom
Powered By openSUSE
Powered By Vim
Is Valid XHTML
Is Valid CSS
Is Valid RSS2