filelink: use the correct/existing prefs key when fetching defaults
Add support for MySQL

- Small differencies in the dialect/settings require an independent init script.
- Quote "grant" table name, as it's being recognized as a keyword.