Remote Connection Ucenter Database

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.