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.

Issues setting up MySQL with Docker

Featured Replies

Hello All,

 

I just updated to unraid 6 and i am trying to get Docker to install Myql which i think i have installed however, i cant connect to it remotely or locally via unraid ssh.

 

When i go to the docker tab, i see the following

 

mysql
Container ID: fb17c9d9443e
mysql:latest	 up-to-date
force update
3306/tcp  192.168.0.100:3306	/var/lib/mysql  /mnt/cache/appdata/mysql3	ON
Up 3 minutes
Created 3 minutes ago
Add Container Check for Updates

 

if i do a "docker images" from SSH i get the following

 

root@SERVER:/# docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
mysql               latest              6863cdbe438e        2 weeks ago         361.2 MB

 

Logs when i installed mysql

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="mysql" --net="bridge" -e MYSQL_ROOT_PASSWORD="root_password" -e MYSQL_DATABASE="owncloud" -e MYSQL_USER="mysql_user" -e MYSQL_PASSWORD="mysql_password" -e TZ="America/Halifax" -p 3306:3306/tcp -v "/mnt/user/appdata/mysql3":"/var/lib/mysql":rw mysql
999f38a2cf4d3e1de161c21484884018402b057cf49d9664c180841acfe05b6d

The command finished successfully!

 

Not really sure what i am doing but my windows PC with mysql workbench cant connect to 192.168.0.100 over 3306 and unraid ssh cant find mysql commands.

Use the unraid server name or ip with that port from your windows client.

Rather than using the official image for mysql, switch to the linuxserver.io  template.  There may be differences in permissions etc that are preventing usage on unraid

  • 2 weeks later...
  • Author

Using docker mysql and MariaDB works just fine. thanks

Using docker mysql and MariaDB works just fine. thanks

Why run them both?
  • Author

Using docker mysql and MariaDB works just fine. thanks

Why run them both?

You wouldn't. I was just advising that the mysql and mariadb works using docker but not on the old plg plugins for some unknown reason. Due to popularity, I've picked mariadb.

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.