In /var/lib/mysql/ is there a mysql_upgrade_info file?
cat mysql_upgrade_info
what does that render?
What does: mysql -V display?
Something like this?
mysql Ver 14.14 Distrib 5.5.44, for debian-linux-gnu (x86_64) using readline 6.2
Just looked at a Ubuntu box and here are the files in the /var/lib/mysql/ directory:
root@Moodle2:/var/lib/mysql# ls -l
total 3964780
-rw-r--r-- 1 mysql mysql 0 Aug 4 08:09 debian-5.5.flag
-rw-rw---- 1 mysql mysql 5242880 Aug 30 00:25 ib_logfile0
-rw-rw---- 1 mysql mysql 5242880 Aug 27 15:54 ib_logfile1
-rw-rw---- 1 mysql mysql 4045406208 Aug 30 00:25 ibdata1
drwx------ 2 mysql mysql 20480 Aug 4 08:13 moodle
drwx------ 2 mysql mysql 4096 Aug 4 08:09 mysql
-rw-rw---- 1 mysql mysql 6 Aug 4 08:09 mysql_upgrade_info
drwx------ 2 mysql mysql 4096 Aug 4 08:09 performance_schema
All the files in the moodle directory ARE .frm files cept the db.opt so that's 'normal'.
From the mysql> prompt, what do you get for this query:
mysql> SELECT `ENGINE` FROM `information_schema`.`TABLES`WHERE `TABLE_SCHEMA`='moodle';
If all the tables in the DB are InnoDB you'll get a listing of InnoDB for however many tables in the moodle db there are. Approx. 316 rows in set.
Can you run a mysqldump?
Ken