News for hackers. Stuff that matters.
Re:MariaDB 10.0 Beta launched by cakeface on Friday November 08, 2013 @03:33PM (#6698941)
Has anyone done a conversion from mysql to mariadb recently? How was the experience?
Re:MariaDB 10.0 Beta launched by terrellm on Friday November 08, 2013 @04:39PM (#6699338)
I develop a Rails 3 web app and recently moved from MySQL to MariaDB. Well actually the guys at Rails Machine did the move for me. I don't know what all they did on their end, so can't speak much for the server admin side. We ended up making the switch since I was moving to a high availability setup with multiple DB servers.

On the web app side, I am using the mysql2 gem and made zero changes to my code. Also, I frequently import SQL dumps from MariaDB into my local MySQL development with no problems.

The only issue I had was related to some nasty SQL I had in a select in a finder (yeah I know bad practice). MySQL was returning a 0 while MariaDB returned NULL. Either way, it was my fault for messy code and when I fixed the select, everything was good.

Re:MariaDB 10.0 Beta launched by viraptor on Friday November 08, 2013 @07:37PM (#6700089)
There's one silly difference I noticed. Timestamps in mariadb dumps have their size appended. Mysql doesn't like that, so you need to filter them out. Otherwise pretty much a drop-in.
Re:MariaDB 10.0 Beta launched by deweller on Friday November 08, 2013 @04:22PM (#6699242)
I maintain a reasonably complex web app in production that uses stored procedures extensively. I am running it in production with both MariaDB 5.5.x and MySQL 5.5.x.

I have not experienced any compatibility issues with MariaDB vs. MySQL.

Re:MariaDB 10.0 Beta launched by nitrogen on Friday November 08, 2013 @03:45PM (#6699027)
Seamless. I'm not using stored procedures, views, etc., but for some simple InnoDB databases, MariaDB was a drop-in replacement. The command line tools are even still called mysql.
Re:MariaDB 10.0 Beta launched by treffer on Saturday November 09, 2013 @06:08AM (#6701331)
We were thinking about it. I fired up our apps testsuite and found a bug: https://mariadb.atlassian.net/browse/MDEV-4711

The bug was now been analyzed but not fixed for ~3 releases.

That said I also ran the testsuite against 5.6 and found some problems, too. You might also be concerned about http://bugs.mysql.com/bug.php?id=69274 - this means that if you loose an idb file during a crash you're out of luck to use your db ever again.

We're thus currently stuck at percona server 5.5 with regular investigation of the alternatives.

Re:MariaDB 10.0 Beta launched by SkyAtWork on Friday November 08, 2013 @04:33PM (#6699305)
We're currently doing one. It's been relatively painless, most of the difficulty being simultaneously moving off old myisam tables to innodb -> xtradb
Re:MariaDB 10.0 Beta launched by simonz05 on Saturday November 09, 2013 @05:10AM (#6701243)
Recently upgraded from MySQL 5.1 -> MariaDB 5.5 with no issues what so ever. We have ~90 tables where the largest table has 40,000,000 entries.

I configured the new database servers as slaves of the old ones. This enabled me to verify things in production and do a safe upgrade. Promoting the MariaDB slaves to master was the only required action in terms of switching over. No code changes were required in our application code.