How to link the database to my app?

FranRonga
New Member
3 0 0

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?

 

 

 

0 Likes