Cannot connect to database

Cannot connect to database

Sergej Gerasimov -
回帖数:3
Hello,
i have a problem when trying to install Moodle on IIS6(Win2003Server)+MSSQL 2005. I've configured PHP and set up a new database with MSSQL, but the moodle setup-script tells me "We could not connect to the database you specified. Please check your database settings".

I'm new to moodle and MS-SQL, so I followed the installation steps from this site and have no idea what should I do to solve the problem.

Any help would be greatly appreciated.

Sergej
回复Richard Enison

Re: Cannot connect to database

Sergej Gerasimov -
I read the docs and did exactly what it says, still won't work.. any other ideas?
回复Sergej Gerasimov

Re: Cannot connect to database

Richard Enison -
SG,
  1. Are you able to access your database (db) at all? Can you access it using the same parameters (host, username, p/w) that you gave Moodle?
  2. Which method of accessing MSSQL from PHP did you use (FreeTDS, ODBTP, etc.)?
RLE