Because I do often work out of the office I have implemented a provision mechanism with the a local server, so I have a "server" running on my laptop and one on my computer office. All my files are stored on the cloud, so both server technically points to the same folder thus meaning my files are in sync.
I'd like to do the same with my database.
On my laptop I have moved my local directory into the cloud storage, then a symbolic link has been added in the
/var/lib/mysql folder to point to the remote location.
At the time the configuration started, everything was fine on the laptop because the database was empty and all the data have been add from the laptop.
Now, I created the same symbolic link on the desktop, and the local MySQL can access to the database, but this looks empty. I doubt (and scared) to "import" data as they are there and not sure what could happen on the working instance.
Do you know whether I have missed something?
EDIT: Actually selecting the database, I can see nothing in PHPMyAdmin, but running a SHOW TABLES command a list of my tables are there.