I'm having a problem connecting to 000webhost
The code I have is the following: I think it's fine because I just changed the values corresponding to localhost
<?php
ob_start();
$link = mysql_connect('planos.comla.com', 'a9046774_planos', '') or die('Could not con: ' . mysql_error());
//$link = mysql_connect('localhost', 'root', '') or die('Could not connect: ' . mysql_error());
mysql_select_db('a9046774_planos') or die('Could not select database: ' . mysql_error());
mysql_set_charset('utf8');
?>
And when I put this file in 000webhost
this error message appears to me
Could not with: Access denied for user 'a9046774_planos'@'10.1.1.23' (using password: NO)