i've reinstalled my OS and lampp and i'm trying to restore MySQL databases.
i've tried to copy the database folders from the old /opt/lampp/var/mysql to the new one,
but all i can see in phpmyadmin is empty dbs.
i've tried to add datadir=/opt/lampp/var/mysql/somedb to my.cnf
and MySQL failed to start, so i had to rollback.
what else is there to restore the dbs??