OneThink database connection failed, always prompt wrong password solution, onethink database connection

Source: Internet
Author: User

OneThink database connection failed, always prompt wrong password solution, onethink database connection

The oneThink database configuration file is \ Application \ Common \ Conf \ config. in php, it is reasonable to modify the database configuration here so that the connection can be reconnected. However, no matter how I change the password, it is always different from what I set, I found a lot of information on the Internet that could not solve my problem, but the word "cache" reminded me that it was correct to print the configuration information after I deleted all the cached directory files, however, after the code is commented out, the previous configuration information is displayed, and the solution is found in the portal file, it turns out that oneThink caches the database connection username and password entered during previous installation, so it cannot be connected, and it is decisive in \ Application \ User \ Conf \ config. PHP file modify define ('uc _ DB_DSN ', 'mysqli: // root: 123456@127.0.0.1: 3306/onethink'); OK, everything runs normally !!! (Note: The 123456 password after root is the modified password)

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.