Database migration 2x to 3x

Oscar Jofre oscar at
Wed Oct 21 07:28:17 CEST 2015

>> On 20 Oct 2015, at 21:31, Alan DeKok <aland at> wrote:
>> On Oct 20, 2015, at 4:56 PM, Oscar Jofre <oscar at> wrote:
>>> I'm close to migrate from freeradius 2x to 3x and the table 
>>> definition has some differences.
>>  While there are differences, they don't matter a lot.  You should be
able to use the v2 tables with the v3 queries.

>Biggest issue is that the module that generated acctuniqueid included \0
bytes in the data being hashed, so the v2 module and v3 policy produce
>different values.

>Arran Cudbard-Bell <a.cudbardb at> FreeRADIUS development team

>FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

So anyone has made a migration database (mysql) from v2 to v3 than can share
whats the best to move data from last to new version ?


More information about the Freeradius-Users mailing list