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 关于大棚监测的pcb板设计
  • ¥20 sim800c模块 at指令及平台
  • ¥15 stm32开发clion时遇到的编译问题
  • ¥15 lna设计 源简并电感型共源放大器
  • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)
  • ¥15 Vue3地图和异步函数使用
  • ¥15 C++ yoloV5改写遇到的问题
  • ¥20 win11修改中文用户名路径
  • ¥15 win2012磁盘空间不足,c盘正常,d盘无法写入
  • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计