Hello There, i am hosting a php website where mysql database is nessesary. I have created a Database. Then i have added all credentials. But it’s showing connection unsuccessful.
My website link - http://cybertunnel.cf/register.php
Please help
Hello There, i am hosting a php website where mysql database is nessesary. I have created a Database. Then i have added all credentials. But it’s showing connection unsuccessful.
My website link - http://cybertunnel.cf/register.php
Please help
There are some ongoing DB errors, I don’t know that much about PHP/MySQL. Everything looks right to me though.
Note that the mysql_connect
and all other functions starting with mysql_
are removed with PHP 7 and later. You should use mysqli_
functions or PDO instead.
Also, it when a database connection fails, there is generally another function that can retrieve the connection error message. That message should tell you more about what broke. Perhaps it can even be linked to a message here:
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.