开发者社区> 问答> 正文

云虚拟主机的 数据库在连接时候出错,求教!!!



Internal Server Error


The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@bxu2442650612.my3w.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.






########
数据库用浏览器没法访问
虚拟主机可以ping通,ftp服务也可以正常访问

展开
收起
nineep 2016-12-01 19:52:29 4828 0
4 条回答
写回答
取消 提交回答
  • Re云虚拟主机的 数据库在连接时候出错,求教!!!
    我也是遇到一样的问题!一定要”用HeidiSQL来测试一下mysql是否能连接成功“ 吗?如果成功怎样?不成功又怎样呢?我不懂啊啊!
    2016-12-04 22:59:28
    赞同 展开评论 打赏
  • R&S网络资深工程师 ,阿里云论坛官方版主,阿里云云计算ACP,春考教学网站长,IT技术晋级之路专辑作者
    大哥上图我看看  哪个数据库  你是想导入 不通过安装是吧
    2016-12-04 16:46:58
    赞同 展开评论 打赏
  • 旺旺:nectar2。
    回 2楼(nineep) 的帖子
    楼主您好,

    抱歉延时回复。

    从截图的显示信息来看,个人估计很可能是mysql的连接信息有误导致500错误。

    从格式上,您的数据库连接地址,数据库名信息填写正确。但不确定具体密码等连接内容信息是否有误,我就测试不到了。

    您可以尝试使用第三方的mysql连接工具,如HeidiSQL来测试一下mysql是否能连接成功。

    如您自已测试还不能成功,请通过站内信发mysql的连接信息给我,我为您测试喔。

    -------------------------

    回 8楼(nineep) 的帖子
    您好,

    “文档上那个bdm#######.sql文件在哪里弄得?” <<-- 请问您指的是哪个文档呢?

    您安装的phpwind版本是多少?
    2016-12-02 10:19:40
    赞同 展开评论 打赏
  • Re云虚拟主机的 数据库在连接时候出错,求教!!!
    没人么?自己顶!

    -------------------------

    Re云虚拟主机的 数据库在连接时候出错,求教!!!
    @怀英 dongshan8 小柒2012 top1314 西秦 51干警网

    -------------------------

    Re云虚拟主机的 数据库在连接时候出错,求教!!!
    webmaster@bxu2442650612.my3w.com   web页面报错出来的这个邮箱有人接受么?给这个邮箱发了个邮件,也没人回复!!!!

    -------------------------

    回 4楼dongshan8的帖子
    谢谢,现在可以链接到数据库服务器了,wordpress的链接还没试。


    root@UBUNTU:/mnt/c/Windows/System32# mysql -u bdm256143575 -h bdm256143575.my3w.com -p
    Enter password:
    ERROR 2049 (HY000): Connection using old (pre-4.1.1) authentication protocol refused (client option 'secure_auth' enabled)
    出现这个报错

    root@UBUNTU:/mnt/c/Windows/System32# mysql -u bdm256143575 -h bdm256143575.my3w.com --secure_auth=off  -p
    Enter password:
    Welcome to the MySQL monitor.  Commands end with ; or \g.
    Your MySQL connection id is 5199432
    Server version: 5.1.73 Source distribution

    Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.

    Oracle is a registered trademark of Oracle Corporation and/or its
    affiliates. Other names may be trademarks of their respective
    owners.

    Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

    mysql>

    -------------------------

    回 4楼dongshan8的帖子
    这是我查看数据库的信息。库也存在的

    mysql> show databases;
    +--------------------+
    | Database           |
    +--------------------+
    | information_schema |
    | bdm256143575_db    |
    +--------------------+
    2 rows in set (0.02 sec)


    可是还是报错Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, webmaster@bxu2442650612.my3w.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    -------------------------

    Re云虚拟主机的 数据库在连接时候出错,求教!!!
    我用的是360 和ie浏览器。
    还有想问下为什么还需要mysql数据库导入,wordpress不会自动创建么?文档上那个bdm#######.sql文件在哪里弄得?文档写的还不如不写!!!

    -------------------------

    回 4楼dongshan8的帖子
    我用的是360 和ie浏览器。
    还有想问下为什么还需要mysql数据库导入,wordpress不会自动创建么?文档上那个bdm#######.sql文件在哪里弄得?文档写的还不如不写!!!
    2016-12-01 20:01:13
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
2022 DTCC-阿里云一站式数据库上云最佳实践 立即下载
云时代的数据库技术趋势 立即下载
超大型金融机构国产数据库全面迁移成功实践 立即下载