http://164.138.211.154/phpmyadmin/index.php?db=database&token=token
///change database settings here
///database connection
$servername = "164.138.211.154";
$username = "user";
$password ="password";
$dbname="database";
/*
trying to connect to this phpmyadmin database(above is the link) using wamp(loclhost) and i am getting error
Warning: mysqli::__construct(): (HY000/2002): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:\xampp\htdocs\PhpProjects\Orders\Read Csv file\check.php on line 38 Connection failed: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
i changed the username,pass,host address of php "config.inc" of my wamp server files but still not able to connect plz help me plz.
config.inc.phpand contains lines like$cfg['Servers'][$i]['host'] = 'localhost';. Aside from the fact that your database probably doesn't allow external access or is blocked by some firewall or NAT along the way, you don't seem to be editing the correct configuration file. - Isaac Bennetch