MySQL Forums
Forum List  »  Newbie

Re: NEW DB to use
Posted by: Phillip Ward
Date: March 18, 2024 02:13AM

Some basics first.

Quote

Can I create an HTML5 page that will connect to the db easily ...

No. Not directly, anyway.

Remember how "The Web" works ...
Your web browser makes a "request" to a web server that runs some code that connects to a database, runs some SQL queries, gets some data, reformats that data into HTML and sends it back to your browser, where is it rendered into the pretty stuff that we see every day.
Browsers do not connect directly to Databases. That would be a huge security risk.

Quote

How do I connect ...

That depends entirely on how your web server application is built.
You'll have a client library suitable for that development language (e.g. PHP's PDO) and you'll use that library to connect to the database, run queries, etc.

Quote

Cant see it.

Since you're asking in a MySQL forum, MySQL Workbench is probably the best place to start.

Regards, Phill W.

Options: ReplyQuote


Subject
Written By
Posted
March 15, 2024 09:10AM
Re: NEW DB to use
March 18, 2024 02:13AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.