hello, to connect to MySQL in your script, you must first visit the MySQL Database Wizard in cPanel to create a new database and database user.
Then, in the script itself, use localhost as the hostname, and then the database name, user, and password you set up in the wizard