hosted application code not accessing with database

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
muttou
User
Posts: 124

hosted application code not accessing with database

Post by muttou »

Hi, generated application code is running well on my local computer but once hosted to my domain through cpanel its not accessing/authenticating with the database.. on other words database queries are not working.. i have gone through all the forum topics but not success moreover, i have followed the steps as explained in viewtopic.php?f=4&t=44006 but all in vane..

kindly help me to get out from this issue as there is no queries running over hosted server. moreover my remote connections are working fine..
any support would highly be appreciated. thanks once again.

Regards


mobhar
User
Posts: 11726

Post by mobhar »

Most hosting provider do not allow usage the host name other than the "localhost". So, make sure in your database connection info (in ewcfg*.php file), you have already had the following:

... , "host" => "localhost", ...


muttou
User
Posts: 124

Post by muttou »

Actually it resolved by replacing the localhost with IP address of the shared domain.. thanks for your prompt response..


Post Reply