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.

Docker mysql will not start after power failure

Featured Replies

Somehow my UPS faulted during a power outage, and after I got the host back online I cannot get the container to start. The logs are below.

 

Quote

2023-11-08T01:32:47.413873Z 0 [System] [MY-015017] [Server] MySQL Server Initialization - start.
2023-11-08T01:32:47.416507Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.
2023-11-08T01:32:47.416798Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.2.0) initializing of server in progress as process 80
2023-11-08T01:32:47.420144Z 0 [ERROR] [MY-010457] [Server] --initialize specified but the data directory has files in it. Aborting.
2023-11-08T01:32:47.420152Z 0 [ERROR] [MY-013236] [Server] The designated data directory /var/lib/mysql/ is unusable. You can remove all files that the server added to it.
2023-11-08T01:32:47.420218Z 0 [ERROR] [MY-010119] [Server] Aborting
2023-11-08T01:32:47.420410Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.2.0)  MySQL Community Server - GPL.
2023-11-08T01:32:47.420730Z 0 [System] [MY-015018] [Server] MySQL Server Initialization - end.
2023-11-08T02:59:10.910757Z 0 [System] [MY-015017] [Server] MySQL Server Initialization - start.
2023-11-08T02:59:10.913298Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.
2023-11-08T02:59:10.913489Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.2.0) initializing of server in progress as process 79
2023-11-08T02:59:10.916749Z 0 [ERROR] [MY-010457] [Server] --initialize specified but the data directory has files in it. Aborting.
2023-11-08T02:59:10.916756Z 0 [ERROR] [MY-013236] [Server] The designated data directory /var/lib/mysql/ is unusable. You can remove all files that the server added to it.
2023-11-08T02:59:10.916814Z 0 [ERROR] [MY-010119] [Server] Aborting
2023-11-08T02:59:10.917011Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.2.0)  MySQL Community Server - GPL.
2023-11-08T02:59:10.917323Z 0 [System] [MY-015018] [Server] MySQL Server Initialization - end.
2023-11-07 19:32:46-06:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.2.0-1.el8 started.
2023-11-07 19:32:47-06:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2023-11-07 19:32:47-06:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.2.0-1.el8 started.
2023-11-07 19:32:47-06:00 [Note] [Entrypoint]: Initializing database files
2023-11-07 20:59:06-06:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.2.0-1.el8 started.
2023-11-07 20:59:10-06:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2023-11-07 20:59:10-06:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.2.0-1.el8 started.
2023-11-07 20:59:10-06:00 [Note] [Entrypoint]: Initializing database files

 

  • Community Expert

You should be posting this in the support thread for MySQL...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.