How can I connect a MySQL database to my app?

How can I connect a MySQL database to my app?

FranRonga
Visitor
3 0 1

HI there,

Im very new in shopify app development, so my issue is that i want to use a mysql database for my shopify app. I used the shopify cli to set up a basic app with node js and react. Then i installed the mysql module and i just put :

var mysql = require('mysql');

 

And it comes back with this error: 

image.png

 

 

What can i do?

 

 

 

Replies 0 (0)