Error adding MySQL to NodeJS project with Docker on Mac M1 with Apple Silicon ARM processor

Wappler Version : 3.8.2
Operating System : Mac Big Sur (M1)
Server Model: NodeJS
Database Type: MySQL
Hosting Type: Local

Expected behavior

What do you think should happen?

Adding MySQL to project should install automatically

Actual behavior

What actually happens?

I got this error having selected MySQL:

I then switched to Postgres and all installed perfectly.

How to reproduce

  • Detail a step by step guide to reproduce the issue
  • A screenshot or short video indicating the problem
  • A copy of your code would help. Include: JS, HTML.
  • Test your steps on a clean page to see if you still have an issue

Create a new NodeJS project and then go to project settings and add MySQL 8.0 DB

I'm carrying on with Postgres but thought it might be something you need to look in to.

Are you using docker?

Yes. Sorry thought I had mentioned that.

Please choose to use MariaDB

MySQL doesn’t have ARM images of their database yet. So it won’t work on on your brand new Mac M1 with Apple Silicon M1 as Arm chip

Maria DB is much further in development and much better supported also on Arm.

And further is MariaDB fully compatible with MySQL, so you have pretty much the same support.

1 Like

Thanks George

You can actually see on Docker Hub what OS and Processor a specific image support,

So for example MariaDB:
https://hub.docker.com/_/mariadb?tab=tags&page=1&ordering=last_updated

While MySQL:
https://hub.docker.com/_/mysql?tab=tags&page=1&ordering=last_updated

1 Like

And of course make sure you have the latest Docker Desktop for M1 preview from: