I don't know which part is what

I have this php code
image

and I have no idea in what order it should go. (From create database thing in cpanel)

ps im new into this

The information can be found in the client panel.

Host name will be the sqlxxx.epizy.com
Username is your username.
Password is your hosting account password
DB Name is the name of the database (Created in the control panel)

4 Likes

i get this error

This generally means that the database name is not correct. If you entered the database name my_database when creating the database, the full database name looks like epiz_12345678_my_database. The easiest way to make sure you have the right database name is to go to the MySQL Databases section in your control panel. If you haven’t created your database yet, you can also do it through this menu.

It could also mean that your database password is incorrect. The database password is the same as your hosting account password (which is different from your client area password!). You can find your hosting account password by logging in to your client area , click Manage next the account, scroll down to MySQL Details and click Show next to the Password field.

8 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.