hi ..
i have two web host
1 host is cpanel
2nd host is window control panle from hostgator
i want to use my sql remotally
i want put my sql DB on 1st cpanel host
and script on 2nd window control panel host
i upload DB on Host 1 and also use add ip of 2nd host in 1st host in remote acess mysql ( i add host ip )
then i put in db
//Database Configuration
define('DB_SERVER', "1st host ip x.x.x.x:3306");
define('DB_USER', "mysiteuser");
define('DB_PASS', "password");
define('DB_DATABASE', "mysitedatabase");
but my site still show connect DB ......................................tell me where m wrong !
i have two web host
1 host is cpanel
2nd host is window control panle from hostgator
i want to use my sql remotally
i want put my sql DB on 1st cpanel host
and script on 2nd window control panel host
i upload DB on Host 1 and also use add ip of 2nd host in 1st host in remote acess mysql ( i add host ip )
then i put in db
//Database Configuration
define('DB_SERVER', "1st host ip x.x.x.x:3306");
define('DB_USER', "mysiteuser");
define('DB_PASS', "password");
define('DB_DATABASE', "mysitedatabase");
but my site still show connect DB ......................................tell me where m wrong !
Comment