How to change the database path

You can’t hardlink directories, though you can symlink. Why do you want to do that tough.