[CentOS] Using Mariadb databases from old server

Fri May 29 01:52:53 UTC 2015
Timothy Murphy <gayleard at eircom.net>

I'm running CentOS-7, but I left some MySQL databases
on my old CentOS-6.5 partition which I'd like to retrieve. 
I assume they are contained in the file /var/lib/mysql/ibdata1 ?

Could I just copy this file to /var/lib/mysql in CentOS-7?
Or is there some way Mariadb or phpMyAdmin can import mysql databases
from a server that is no longer running?

-- 
Timothy Murphy  
gayleard /at/ eircom.net
School of Mathematics, Trinity College, Dublin