Home  >  Article  >  Backend Development  >  DB_NSN的写法,该如何处理

DB_NSN的写法,该如何处理

WBOY
WBOYOriginal
2016-06-13 12:18:281010browse

DB_NSN的写法
'DB_DSN'=>'mysql://root:@localhost:3306/thinkphp', 有密码怎么写,比如root的密码是12345
------解决思路----------------------
试试
'DB_DSN'=>'mysql://root:[email protected]:3306/thinkphp',

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