September 9, 201411 yr I have installed a ubuntu VM. After installing the VM my Mariadb docker stoppped working. I'm not bothered about it not working as I want to stop using docker and install everything in the VM. I have installed mariadb in the VM and I now want to copy the database from the "mysql" share I had setup for the database to the VM. I have already mounted the share in the VM. How do I tell the new installation to look at the mounted share? All I have on the VM is the basic install from sudo apt-get. So Vanilla. Can someone tell me how please?
September 9, 201411 yr Author actually. I would prefer to move the entire database into the VM and initialise it there if possible.
September 9, 201411 yr It would probably be easier to use a SQL Gui. I use HeidiSQL. Make a copy of your databases and then move them into your VM.
September 9, 201411 yr Author Thanks for your reply. Would that work if the original mysql docker is not working?
September 9, 201411 yr Thanks for your reply. Would that work if the original mysql docker is not working? No. Where on your server were you saving the mysql database? you probably just need to go to that location and move a copy into your VM.
September 9, 201411 yr Author Its on a user share at the moment and I want to copy it from there to the VM. How do I then tell mariadb to use that folder. Do i need to do anything else after that?
September 9, 201411 yr Its on a user share at the moment and I want to copy it from there to the VM. How do I then tell mariadb to use that folder. Do i need to do anything else after that? Make sure mariadb is not running on the VM. Copy everything from your db directory to the data directory that Mariadb is using in the VM. Start Mariadb.
September 9, 201411 yr Easy as that! Ok. Will try that later today. Thanks for your help! You may need to create users and grant privileges again but that should be it.
Archived
This topic is now archived and is closed to further replies.