Problem with login database.

@HaCk3r said:
I found another login page. This time when I press login, it says that it cannot connect to the database. I found a section in the connect.php file where it said “$connection = mysqli_connect(‘localhost’, ‘root’, ‘’);” I replaced localhost with the MySQL hostname but the result was still thesame. As I do not know much about MySQL I’m not sure how to fix this problem.

(Host name, username, c-panel-password)

Hostname :- found at after login your mysql database

@HaCk3r said:
I found another login page. This time when I press login, it says that it cannot connect to the database. I found a section in the connect.php file where it said “$connection = mysqli_connect(‘localhost’, ‘root’, ‘’);” I replaced localhost with the MySQL hostname but the result was still thesame. As I do not know much about MySQL I’m not sure how to fix this problem.

(Host name, username, c-panel-password)

Hostname :- found at after login your mysql database