oneThink 数据库连接失败,总提示密码不对的解决办法,onethink数据库连接
Jun 13, 2016 am 08:54 AM
Methodfailpasswordhintdatabasesolveconnect
oneThink 数据库连接失败,总提示密码不对的解决办法,onethink数据库连接
oneThink的数据库配置文件是\Application\Common\Conf\config.php,按理来说,在这里修改数据库配置应该就可以重新连接,可是不管我怎么修改密码总是和我设置的不一致,在网上找到很多信息都没能解决我的问题,不过“缓存”这个词提醒了我,于是我把缓存目录文件全部删除后,打印配置信息是对的,但是注释打印代码后,又出现了以前的配置信息,然后在入口文件找到了解决办法,原来oneThink把以前安装时输入的数据库连接用户名和密码作了缓存所以怎么都连不上,果断在\Application\User\Conf\config.php文件中修改define('UC_DB_DSN','mysqli://root:123456@127.0.0.1:3306/onethink');OK,一切运行正常!!!(注:root后面的123456为修改后的密码)
Statement
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

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article
Assassin's Creed Shadows: Seashell Riddle Solution
3 weeks agoByDDD
What's New in Windows 11 KB5054979 & How to Fix Update Issues
2 weeks agoByDDD
Where to find the Crane Control Keycard in Atomfall
3 weeks agoByDDD
Saving in R.E.P.O. Explained (And Save Files)
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Dreamweaver Mac version
Visual web development tools

WebStorm Mac version
Useful JavaScript development tools

Zend Studio 13.0.1
Powerful PHP integrated development environment