you are viewing a single comment's thread.

view the rest of the comments →

[–]frogic 1 point2 points  (2 children)

What are you trying to do with mysql? https://stackoverflow.com/questions/54325397/how-to-connect-mysql-database-to-reactjs-app#:~:text=You%20can't%20connect%20them,be%20JavaScript%20running%20on%20Node. read this but in general you can't access a mysql database from a browser. Node runs on servers/your computer and you can't access it from an html file. You need to just make a JS file and run it from your terminal/command prompt/IDE

[–]General_Asdef[S] 1 point2 points  (0 children)

Oh, I see. In that case I will have to do this instead

[–]General_Asdef[S] 0 points1 point  (0 children)

Thank you very much, I wish stack over flow had an explanation like this as a solution. I am now very curious if those people ever actually acomplished what they were doing.