[Mageia-dev] HEADSUP: mariadb available for testing
Sam Bailey
cyprix at cyprix.com.au
Sat Nov 19 03:37:08 CET 2011
On 19/11/11 10:48, Maarten Vanraes wrote:
> Op vrijdag 18 november 2011 23:18:57 schreef Maarten Vanraes:
>> Op vrijdag 18 november 2011 15:29:51 schreef JA Magallon:
>> [...]
>>
>>> Quick Hack: change awk to:
>>>
>>> /usr/sbin/mysqld --version | cut -d' ' -f4 | cut -d- -f 1
>>>
>>> Works both in MySQL and MariaDB.
>>
>> thanks i'll try and put it in.
>
> it should be fixed in 5.5.15-0.3.mga2 .
It's fixed for NEW_VER(mysql->maridb upgrade) but not for OLD_VER
(upgrading an existing mariadb install)
It works if OLD_VER in initscript is changed from:
OLD_VER="`cat $datadir/mysql_upgrade_info`"
To:
OLD_VER="`cat $datadir/mysql_upgrade_info | cut -d' ' -f4 | cut -d- -f 1`"
--
Sam Bailey
More information about the Mageia-dev
mailing list