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.

[SOLVED] mysql databases gone on reboot

Featured Replies

Hello,

 

I seem to be having a problem with my mysql install on my unRAID server. I just spent 3 hours setting up two machines for a XBMC centralized connection. When I was all done and about to head to bed I restarted the server. After the reboot it seems that the re-installation script over wrote my setup. While the databases are intact on my data drive /mnt/disk1 they are not listed when I log into mysql via the terminal. I'm guessing the 'reinstall on reboot' has something to do with this. So, I have two questions...

 

1) How do I get the mysql server up and running when the system reboots without overwriting everything?

2) How can I push my databases back so that the connect works again?

 

additional info: I have installed mysql via unMENU and have it set to reinstall after reboot. I have my databases are located on my array at /mnt/disk1/mysql.

 

Thanks!!

Bobby

  • Author

Solved... I found this code from liguidkaos and it did the trick... thanks..

 

#!/bin/bash
# Start the Management Utility
/usr/local/sbin/emhttp &

# Start the array
echo "Starting the array"
sleep 5
/usr/bin/wget -q -O - localhost/update.htm >/dev/null
/usr/bin/wget -O - --post-data 'startState=STOPPED&cmdStart=Start' localhost/update.htm >/dev/null

# Wait for disk1 of the array to come online
while ! test -d /mnt/disk1;do sleep 5;done;sleep 5

# Start unmenu
/boot/unmenu/uu

# Start Addon Packages
cd /boot/packages && find . -name '*.auto_install' -type f -print | sort | xargs -n1 sh -c

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.