Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MySQL fork MariaDB
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
HeissFuss
Guru
Guru


Joined: 11 Jan 2005
Posts: 414

PostPosted: Tue Oct 20, 2009 6:58 pm    Post subject: MySQL fork MariaDB Reply with quote

Has anyone tried building MariaDB yet in an attempt to replace MySQL? With Oracle buying Sun, the future of the MySQL brand is in question, and MariaDB would be the likely fork.

I'm not sure if it's feasible to just drop it in as a replacement, but curious if someone's tried or is willing to work on an ebuild.
Back to top
View user's profile Send private message
patrix_neo
Guru
Guru


Joined: 08 Jan 2004
Posts: 518
Location: The Maldives

PostPosted: Tue Jan 19, 2010 9:42 am    Post subject: Reply with quote

I think I will try it out if there is a php-module for it. I didn't know about it until today. (d'oh). I'll post my experience here if I care to do it.
Back to top
View user's profile Send private message
saboya
Guru
Guru


Joined: 28 Nov 2006
Posts: 448
Location: Brazil

PostPosted: Tue Jan 19, 2010 2:15 pm    Post subject: Reply with quote

patrix_neo wrote:
I think I will try it out if there is a php-module for it. I didn't know about it until today. (d'oh). I'll post my experience here if I care to do it.

There's no need for specific MariaDB support from client libs - It'll work exactly as MySQL from an external point of view.
Back to top
View user's profile Send private message
patrix_neo
Guru
Guru


Joined: 08 Jan 2004
Posts: 518
Location: The Maldives

PostPosted: Tue Jan 19, 2010 6:32 pm    Post subject: Reply with quote

saboya wrote:

There's no need for specific MariaDB support from client libs - It'll work exactly as MySQL from an external point of view.


Thanks for the clarification. I kind of felt that was the case after closer reading on the monty.org site.
Back to top
View user's profile Send private message
patrix_neo
Guru
Guru


Joined: 08 Jan 2004
Posts: 518
Location: The Maldives

PostPosted: Wed Jan 20, 2010 12:20 pm    Post subject: Reply with quote

prologue wrote:
This post will probably be edited several times during the course of my adventure with MariaDB.


UPDATED: feb 4 2010
The download of the source is approximately 20MB in size.

I have removed the dev-db/mysql package but left the virtual/mysql on the system and started compiling MariaDB with following configurationsettings:

Code:

./configure \
--prefix=/usr/bin \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--libexecdir=/usr/libexec \
--sysconfdir=/etc/mariadb \
--localstatedir=/var/lib/mysql \
--libdir=/usr/lib \
--datarootdir=/var/local/mysql \
--datadir=/var/local/mysql \
--infodir=/usr/share/info \
--localedir=/usr/share/locale \
--mandir=/usr/share/man \
--docdir=/usr/share/doc \
--htmldir=/usr/share/html \
--enable-profiling \
--with-gnu-ld \
--with-mysqld-user=mysql \
--with-unix-socket-path=/var/run/mariadb.sock \
--with-plugins=myisam,innobase,maria,myisammrg \
WARINING: --with-mysqld-ldflags \ [b]yes:missing file or directory[/b] when compiling source
--with-maria-tmp-tables \


The possibility to make uninstall and to create gui-tools are nice additions to this package.

first successful command : /usr/local/mysql-test/mysql-test-run
When looking at the output, I seem to have missed using the --with-plugins=partition ... we'll see. [PENDING]
The routine is very extensive and took me several minutest to process. About 20-30 minute span (3.2 GHz, HPET intel CPU + 1GB ram).
Test finnished at 1349 sec on 792 tests.

problem list wrote:

* I keep getting Can't find /usr/mysqld
* Linking it to /usr causes A new try running mysqld --user=mysql cause mysql.host table open error.
configuring with --program-prefix=/usr/bin or --program-suffix=/usr/bin causes /usr/bin/mysql_install_db//usr/bin errors.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum