I used to rely on XAMPP in my Kubuntu 18.04 which located in /opt/lampp
. I uninstalled the XAMPP and had a whole folder backup in this directory before that, and eager to install all the LAMP stack individually, which i installed apache2, mysql-server, and phpmyadmin after that.
The thing is, i want to import my databases from my backed up XAMPP folder located in /opt/lampp/var/mysql
which consist of all my databases with tables in .frm
and .ibd
format, which is obviously exist, to my current installed mysql package database location in /var/lib/mysql
.
After i moved those databases, i opened phpmyadmin to make sure the dbs imported correctly, but i only saw the database without the table inside the database. How come? What needs to be done to restore the tables inside?