Home > Backend Development > PHP Tutorial > thinkphp部署到万网云服务器上报连接不上mysql

thinkphp部署到万网云服务器上报连接不上mysql

WBOY
Release: 2016-06-02 11:34:32
Original
1494 people have browsed it

thinkphpphp

thinkphp部署到万网云服务器上时报出以下问题:
Can't connect to MySQL server on 'localhost' (10061)
错误位置
FILE: F:\usr\LocalUser\qyw63891\FreePhone\ThinkPHP\Lib\Driver\Db\DbMysql.class.php  LINE: 58
自己排除了连接mysql的脚步没问题,可以连接上,但是在thinkphp中尝试连接mysql时一直报这样的问题,求大神指导下
这是测试的地址:
http://www.freetelphone.com/FreePhone/index.php/TelphoneInfo/show

Related labels:
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