MaxScale in 2015
There’s still a shortage of proper Mysql proxy software. At the moment, there are 2 the most prominent: Mysqlproxy by Oracle and MaxScale by MariaDB. Seeing that there are no RPMs for Mysqlproxy, I decided to try out MaxScale first. Let’s see how it performed.
First reputation hit: you can’t download RPMs without registering on MariaDB.org. Seriously? Even Oracle doesn’t fall that low on Mysql.com.
All right, let’s register and install it. According to the docs, “Configuration is read by default from the file $MAXSCALE_HOME/etc/MaxScale.cnf
, /etc/MaxScale.cnf
”. All right, let’s copy template to /etc/MaxScale.cnf
, and try to start it:
Jul 4 05:14:32 hpcps MaxScale[7615]: Warning : Failed to read the configuration file /usr/local/mariadb-maxscale/etc/MaxScale.cnf due to 2, No such file or directory.
Really? All right… copy it to /usr/local/mariadb-maxscale/etc/MaxScale.cnf
, start again:
Jul 4 05:15:06 hpcps MaxScale[7665]: Home directory : /usr/local/mariadb-maxscale
Jul 4 05:15:06 hpcps MaxScale[7665]: Data directory : /usr/local/mariadb-maxscale/data/data7665
Jul 4 05:15:06 hpcps MaxScale[7665]: Log directory : /usr/local/mariadb-maxscale/log
Jul 4 05:15:06 hpcps MaxScale[7665]: Configuration file : /usr/local/mariadb-maxscale/etc/MaxScale.cnf
Jul 4 05:15:06 hpcps MaxScale[7665]: Fatal: MaxScale received fatal signal 11. Attempting backtrace.
Jul 4 05:15:06 hpcps MaxScale[7665]: /usr/local/mariadb-maxscale/bin/maxscale() [0x54979c]
Jul 4 05:15:06 hpcps MaxScale[7665]: /lib64/libpthread.so.0(+0xf710) [0x7f1b96a7d710]
Jul 4 05:15:06 hpcps MaxScale[7665]: /usr/local/mariadb-maxscale/bin/maxscale() [0x55d74a]
Jul 4 05:15:06 hpcps MaxScale[7665]: /usr/local/mariadb-maxscale/bin/maxscale(ini_parse_file+0x2f0) [0xa9a456]
Jul 4 05:15:06 hpcps MaxScale[7665]: /usr/local/mariadb-maxscale/bin/maxscale(ini_parse+0x53) [0xa9a504]
Jul 4 05:15:06 hpcps MaxScale[7665]: /usr/local/mariadb-maxscale/bin/maxscale(config_load+0x1b1) [0x55d9ff]
Jul 4 05:15:06 hpcps MaxScale[7665]: /usr/local/mariadb-maxscale/bin/maxscale(main+0x17f1) [0x54c098]
Jul 4 05:15:06 hpcps MaxScale[7665]: /lib64/libc.so.6(__libc_start_main+0xfd) [0x7f1b9531cd5d]
Jul 4 05:15:06 hpcps MaxScale[7665]: /usr/local/mariadb-maxscale/bin/maxscale() [0x5485bd]
That’s it. Bye-bye Maxscale, see you next year. With all the hype, someone’s got to do the job, and look like it will be Mysqlproxy for quite some time.
Comments