skip to Main Content

Docker mysql error | [ERROR] [MY-010457] [Server] –initialize specified but the data directory has files in it. Aborting

I have a Next js application that I'm trying to dockerize. It shows an error while migrating Prisma. It uses MySQL as a base docker-compose.yml version: '3.8' services: mysql: container_name: discord-mysql restart: unless-stopped image: mysql:8.0.26 command: --default-authentication-plugin=mysql_native_password environment: MYSQL_ROOT_PASSWORD: 12345…

VIEW QUESTION
Back To Top
Search