虚拟主机数据库服务器在哪里,Mysql数据库和虚拟主机不在同一服务器怎么设置?...

2bcb10d994e86ccc969c31d15d7df0b0.png

config.php

/********** 数据库主机名或IP **********/

$DBHost = '[color=red]这里我填写了IP地址[/color]';

/********** 数据库用户名 **********/

$DBUser = 'ttblog';

/********** 数据库密码 **********/

$DBPass = '******************';

/********** 数据库名 **********/

$DBName = 'sqltblog';

/********** 数据表前缀 **********/

$DBPrefix = 'f2blog_';

/********** 是否总是打开新的连接 **********/

$DBNewlink = 'false';

?>

可是修改了这里打开网页提示

数据库出错:

[b]Don't connect to database![/b][b]Mysql error description[/b]: Host [color=red]'58.215.79.249'[/color] is not allowed to connect to this MySQL server

[b]Mysql error number[/b]: 1130

[b]Date[/b]: 2007-05-15 11:07

[b]Script[/b]: [url=http://jyun.host1.8mak.com/blog/index.php]http://jyun.host1.8mak.com/blog/index.php[/url]

[color=#ff0000]'58.215.79.249'[/color] 提示这个这个IP地址并不是我在 $DBHost = '[color=red]这里我填写了IP地址[/color]'; 填写的ip地址

要怎么做才能成功哦

我想这样就可以做分流空间了...

还有怎么设置

$cfg['PmaAbsoluteUri'] 指令!

问题补充:Failure to connect to your MySQL database server. MySQL reports the following message: Can't connect to MySQL server on '218.85.134.114' (10061).

Are you sure you have the correct username and password?

Are you sure that you have typed the correct database hostname?

Are you sure that the database server is running?

For more help, see the Installation and upgrading handbook. If you are unsure what these terms mean you should probably contact your hosting provider

◆◆

评论读取中....

请登录后再发表评论!

◆◆

修改失败,请稍后尝试

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值