Hi,
Consider below example which i'm using it for connecting to mysqli
$mysqli_connect = mysqli_connect(
$parameters['mysql_hostname'],
$parameters['mysql_username'],
$parameters['mysql_password']
);
When I trying to connect its hitting this error ->mysqli::mysqli(): (28000/1045): Access denied for user 'examplec_testte1'@'localhost' (using password: YES). Where $parameters['mysql_hostname'] is 'localhost' & if I set $parameters['mysql_hostname'] = '172.17.0.2' then its connecting to mysqli without error.
Is it required to do changes in any .config files OR php.ini file ?If anything else need to change please suggest me the same.
Thank you
kiran upadhya
Consider below example which i'm using it for connecting to mysqli
$mysqli_connect = mysqli_connect(
$parameters['mysql_hostname'],
$parameters['mysql_username'],
$parameters['mysql_password']
);
When I trying to connect its hitting this error ->mysqli::mysqli(): (28000/1045): Access denied for user 'examplec_testte1'@'localhost' (using password: YES). Where $parameters['mysql_hostname'] is 'localhost' & if I set $parameters['mysql_hostname'] = '172.17.0.2' then its connecting to mysqli without error.
Is it required to do changes in any .config files OR php.ini file ?If anything else need to change please suggest me the same.
Thank you
kiran upadhya