dockware
  • dockware doc's
  • News
  • Setup
    • Docker Setup
    • What Image should you use?
    • Performance Tweaks
  • Use Dockware
    • First Run
    • Update Dockware
    • Advanced Run
    • Default Credentials
    • Symfony or Shopware 5
    • Changelog
  • Features
    • Intro
    • Environment Variables
    • Adminer
    • Mailcatcher
    • Switch PHP Version
    • Switch Node Version
    • Tideways Profiling
    • Pimp my Log
    • Filebeat
    • SSH Users
    • MySQL Users
    • Shopware Currency
  • Development
    • Intro
    • Start Developing
    • Switch Branches
    • Debugging
    • Watchers
    • App Development
    • Update Shopware
    • Dockware Essentials
    • Custom Domains
    • Custom Images
    • Code Coverage
    • CLI Build Shopware 6 Plugin
    • Multi-Environment Setups
  • Contribute
    • Intro
    • Setup Github Version
    • Create Feature
    • Code Styles
    • Testing
    • Create Pull Requests
  • CI/CD
    • Github
    • Gitlab
    • Bitbucket
    • Buddy
  • Tips & Tricks
    • Create a new Project
    • Bind-Mounting
    • Persisting Data
    • Housekeeping
    • Online Servers
    • Performance on Mac
    • Security
  • FAQ
    • Sequel Pro
    • Dockware and other images
    • Scripts (PSH?)
    • Redis
    • Error Port not available
    • MySQL failed
    • Elasticsearch
    • Windows Problems
    • Chrome Problems
    • Import MySQL Dump
    • Shopware 5 Support
    • Use Https/SSL
    • Container hangs in Pipeline
    • Disable the admin worker
  • Additional Links
    • Imprint
    • Founders
    • Dockware website
    • Dockware in Shopware Slack
Powered by GitBook
On this page

Was this helpful?

  1. FAQ

MySQL failed

MySQL failed on startup.

This is a very rare error. It has to do with sharing of layers (we think). So in fact, we haven't been quite able to figure it out, but we have a solution.

Solution for all Images since 2020-11-05

We have fixed that error on 5th november 2020. So just pull the newest image and the error should not happen again.

Please keep in mind that this will remove any persistent data if you do not have mounted a volume for mysql.

You have to remove the volumes for your container.

Attention

Please keep in mind that this will remove any persistent data that you have. Think about this step before proceeding.

We start by removing our container. Use this script with the name of your actual container (shopware in our case).

ON HOST
docker rm -f [containername]

Now we have to remove the volumes. Let's find their names.

ON HOST
docker volume ls

Figure out what volumes belong to your image (by using their names) and then delete the mysql (and maybe shop) volumes.

OM HOST
docker volume rm -f [name]

If you now restart your docker container, it should work again. It's also time to restore your clean MySQL dump, if you have a running project ;)

PreviousError Port not availableNextElasticsearch

Last updated 3 years ago

Was this helpful?