I think you are mixing up different types of applications.
MySQL is a database application. It stores data in tables and lets you use SQL (structured query language) to store and retrieve data.
The text you posted seems to be copied from a browser. Browsers are fed HTML (which is text) and can display that graphically. Browsers interact with webservers, like in your case Apache. Webservers host content like webpages, images, CSS files, etc. Sometimes, those webpages are just files containing HTML. And sometimes, those webpages are executable scripts that generate HTML, like PHP scripts.
You are trying to use a browser (for displaying HTML) to interact with MySQL (for storing data). This is not how it works.
Either use a MySQL client application (not a browser) to talk to the database, or use a programming language like PHP to generate HTML that your browser can display.
There is a project called phpMyAdmin. This is a set of PHP files that talk to your MySQL database, and then generate HTML to be displayed in your browser. In effect: you have a website that you can use to manage your MySQL database.
Install phpMyAdmin using sudo apt install phpmyadmin
from a terminal, or by using a GUI tool. See here for detailed instructions on installing phpMyAdmin.