Home > php教程 > php手册 > body text

thinkphp 3.2.3 sae 数据库问题

WBOY
Release: 2016-06-07 11:37:39
Original
1660 people have browsed it

怎么都连不上数据库了 以前用3.13的时候可以连上去的啊
<?php <br /> return array(<br>     //'配置项'=>'配置值'<br>     'DB_TYPE'   => 'mysql', // 数据库类型<br>     'DB_HOST'   => 'localhost', // 服务器地址<br>     'DB_NAME'   => 'events', // 数据库名<br>     'DB_USER'   => 'root', // 用户名<br>     'DB_PWD'    => '', // 密码<br>     'DB_PORT'   => 3306, // 端口<br>     'DB_PREFIX' => 'event_', // 数据库表前缀 <br>     'DB_CHARSET'=> 'utf8', // 字符集<br>     'DB_DEBUG'  =>  TRUE, // 数<br>     'TMPL_PARSE_STRING' =>  array( // 添加输出替换<br>     '__PUBLIC__' => __ROOT__.'/Application/Public',<br>     //'__SDK__'=> __ROOT__.'/ThinkPHP/Library/Vendor/MAIL/autoload.php',<br>     ),<br> );

AD:真正免费,域名+虚机+企业邮箱=0元

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 Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!