• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue MSSQL x MOODLE x PLESK

Rodrigo Guerra

New Pleskian
hi all,

I'm trying to install Moodle on my plesk for Windows.

When the installation asks for the MSSQL parametes I fill the form with the *correct* MSSQL username/pass/host etc.. and I get the following error:

________________________________________
Error: Database connection failed
It is possible that the database is overloaded or otherwise not running properly.

The site administrator should also check that the database details have been correctly specified in config.php

SQLState: IMSSP
Error Code: -49
Message: This extension requires the Microsoft ODBC Driver 11 for SQL Server. Access the following URL to download the ODBC Driver 11 for SQL Server for x86: http://go.microsoft.com/fwlink/?LinkId=163712
SQLState: IM002
Error Code: 0
Message: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
_____________________________________________

I created an new ODBC connection in plesk pointing to my MSSQL Database and test was OK. but the problem remais.


DO I need any special config in PLESK to an PHP page access the MSSQL Database?



Then I tried to isolate the problem and created a small and simple php file to test a connection to the same MSSQL database and I'm gettting the following error:

Fatal error: Call to undefined function mssql_connect() in XXXXXXXXX on line 9

so even a simple page is not connecting.

any ideas on what´s the problem?

thanks!
 
Back
Top