Need help testing connectivity from my app to mysql

Happy New Year. Is there a simple way to prove that my app can connect to my mysql database and write to it?

There’s no interface between Client-side Javascript and Server-side Mysql directly. You have to have php on the server side or any other language that will communicate with the mysql database. This server language will then send response to your app when it makes a request to the server. Looks like you’re a newbie.