dpbl91234 2010-06-06 08:57
浏览 70
已采纳

IIS上的Drupal - 无法连接到数据库

I've hard time to make Drupal work on IIS Microsoft server. I've succesfully run Joomla on the same server so I'm pretty sure the following information are correct:

host: localhost
user: user
pass: pass
databaseName = servername_databasename

I've set the following line in settings.php file:

$db_url = 'mysql://user:password@localhost/servername_databasename';

but what I get is this:

If you are the maintainer of this site, please check your database settings in the settings.php file and ensure that your hosting provider's database server is running. For more help, see the handbook, or contact your hosting provider.

I don't get any other error message such as: database doesn't exist, user/pass wrong.. just this.

The database is running, I can access with phpmyadmin.

I've tried both "mysql" and "mysqli". The host is a private server (IIS Microsoft), the database is Mysql

The database and website files upload have also been succesfull.. so I dunno what to do to fix this issue.

thanks

  • 写回答

1条回答 默认 最新

  • doupingpeng7567 2010-06-10 06:44
    关注

    I solved... it was just wrong dataset setup.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器