The recommended transfer is to create an export from rekordbox on your old machine (include the music if that makes sense for how you're transferring things), and then on the new machine, restore it.
You can try using the Time Machine method (or the migration method), but if you happen to be using a different user name on the new computer, that will most certainly break things as the paths to the settings files and database entries are all absolute paths, not relative ones.