Hi I'm running a freenas system where I have two jails. One jail is broken in a way that I cannot start the mariadb server anymore due to userland and kernel version mismatch. So I created a new jail where I installed the mariadb server. Now I want to migrate the old mariadb instance with all the data and settings to the new one. All instructions I can find refer to a running source instance where the data is dumped and then moved to the new instance. How can I migrate the data with a stopped mariadb server? I still have shell access to the jail that is the source server.
Ok I copied everything fro var/db/mysql on the old server to var/db/mysql on the new server and changed the rights like already mentioned.
Everything works fine again.