All things Shopify and commerce
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hey guys, im working on a shopify app with react and php template, in default sqllite came with the installation but i want to install mysql and get data from a table from my database.
1) how to install mysql instead of sqlite?
2) how to create connection and get data from table in php controller.
Are you using this template https://github.com/Shopify/shopify-app-template-php/.
Or any other, please specify, then can suggest the required changes to be make to connect with MySql instead sqlite
yes im using this package
Hello,
You can use this package instead of SQLite one https://www.npmjs.com/package/@link-hooks/shopify-app-session-storage-mysql
Configure the configuration accordingly for MYSQL
ok, after using this package, how can i use this to add, update records in db ?