connecting esp8266 to a mysql database, writing values to a web site
1-create a database with host, and the necessary columns
2- change the file information according to your needs
3- in host storage folder drag .php and .html files
4- in the mysql admin page create a new table to store users containing a user column, a password and an id, you must add the users manually, save this id because you will have to put it in the arduino program
5- pass the program to the arduino and from the device enter the host page with the end /login.html
Based: https://www.youtube.com/watch?v=TB7LmR9h-NA&ab_channel=TrickSumo