Site and Ucenter is not the same server connection method ~ I toss for several days, finally found this method! You can not connect to try ~ What is the only way to know what to do!
Define (' Uc_connect ', ' MySQL ');d efine (' uc_dbhost ', ' Remote IP ');d efine (' Uc_dbuser ', ' a********1 ');d efine (' uc_dbpw ', ' 1** n ');d efine (' uc_dbname ', ' a*******1 ');d efine (' Uc_dbcharset ', ' GBK ');d efine (' Uc_dbtablepre ', ' a*******1 '). UC _ ');d efine (' uc_dbconnect ', ' 0 ');d efine (' Uc_key ', ' b***********9 ');d efine (' Uc_api ', ' Http://www.***.com/uc '); Define (' Uc_charset ', ' GBK ');d efine (' uc_ip ', ');d efine (' uc_appid ', ' 1 ');d efine (' uc_ppp ', ' 20 ');
Note that if you are connecting to a remote database server, be sure to select null!
Define (' Uc_connect ', ' NULL '); Connection Ucenter Way: Mysql/null, default is empty when Fscoketopen (), MySQL is directly connected to the database, for efficiency, it is recommended to use MySQL
Remote Connection Ucenter Database