Jump to content

Edit History

Zohaib-fk

Zohaib-fk

Hi Dave,

 

Any error message showing on screen?

 

One solution is try connecting database using simple php script. This will helps to know credentials are working or not.

<?php
$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
if (!$link) {
    die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($link);
?> 

spacer.png

Zohaib-fk

Zohaib-fk

Hi Dave,

 

Any error message showing on screen?

 

One solution is try connecting database using simple php script. This will helps to know credentials are working or not.

<?php
$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
if (!$link) {
    die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($link);
?> 

-Thanks & Regards,
Zohaib.
I am doing my best to help and support,sorry in case my suggestion do not help.
 

×
×
  • Create New...