Is there a way to access a MySql database using entirely client side Javascript or do you need to go through a server side language such as PHP or C#?
Thanks
You need to go through the server. Giving the client-side code direct access to the database would be a massive security hole, even if you could do it.
Note that you can use JavaScript on the server, you don't have to use PHP or C#. There are several server-side JavaScript engines you can use, NodeJS (which runs Google's V8 engine) and Rhino (which runs on the Java stack) being two of them. And of course, Microsoft has supported JScript on the server for at least 15 years.