Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Move Mariadb from Docker install to VM

Featured Replies

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?

  • Author

actually. I would prefer to move the entire database into the VM and initialise it there if possible.

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.

  • Author

Thanks for your reply. Would that work if the original mysql docker is not working?

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.
  • 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?

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.
  • Author

Easy as that! Ok. Will try that later today. Thanks for your help!

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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.