Hi I developed a php website with mysql. It worked perfectly on localhost
. I hosted my site and change database config file,
<?php
define("dbhost", "128.199.145.183");
define("dbuser", "root");
define("dbpass", "xxxxxxx");
define("dbname", "database");
$dbc = new mysqli(dbhost,dbuser,dbpass,dbname);
?>
But it not worked. My site is working fine and when i tried to login i got an HTTP 500 error. How can i solve this?