Home > Backend Development > PHP Tutorial > oneThink database connection fails, always prompts the solution for incorrect password, onethink database connection_PHP tutorial

oneThink database connection fails, always prompts the solution for incorrect password, onethink database connection_PHP tutorial

WBOY
Release: 2016-07-12 09:08:37
Original
754 people have browsed it

oneThink database connection fails, always prompts the solution for incorrect password, onethink database connection

OneThink’s database configuration file is ApplicationCommonConfconfig.php. Logically speaking, modify the database configuration here. I should be able to reconnect, but no matter how I change the password, it is always inconsistent with the one I set. I found a lot of information on the Internet but could not solve my problem. However, the word "cache" reminded me, so I changed all the cache directory files. After deletion, the printing configuration information was correct, but after commenting on the printing code, the previous configuration information appeared again, and then I found a solution in the entry file. It turns out that oneThink used the database connection user name and password entered during the previous installation as The cache is blocked so I can't connect. I decisively modified define('UC_DB_DSN','mysqli://root:123456@127.0.0.1:3306/onethink'); in the ApplicationUserConfconfig.php file. OK, everything is running normally! ! ! (Note: 123456 after root is the modified password)

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1053801.htmlTechArticleoneThink database connection fails and always prompts for an incorrect password. The oneThink database connection oneThink database configuration file is ApplicationCommonConfconfig. php, logically speaking,...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template