• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Question mssql connect

Noam Harel

Regular Pleskian
Hi

we are trying to connect to MSSQL from our plesk server, but when we run the page we get this error:
mod_fcgid: stderr: PHP Warning: odbc_connect(): SQL error: [unixODBC][Driver Manager]Data source name not found, and no default driver specified, SQL state IM002 in SQLConnect in <file name>

we have installed: mssql-tools and unixODBC-devel but still things don't work out.

inside our PHP settings we have:
shmaya-plesk.png

could you please guide me how to make this work?

Noam
 
Ok, I got it, you try to connect to MSSQL directly from PHP (not from Plesk).

"Data source name not found, and no default driver specified"
- In a 64 bit windows server operating system, there are two ODBC managers (32 bit is C:\Windows\SysWOW64\odbcad32.exe).


I suggest checking which ODBC used by PHP, but I'm not sure.
 
Ok, I got it, you try to connect to MSSQL directly from PHP (not from Plesk).


- In a 64 bit windows server operating system, there are two ODBC managers (32 bit is C:\Windows\SysWOW64\odbcad32.exe).


I suggest checking which ODBC used by PHP, but I'm not sure.

thanks for your reply, i think this can't be the correct answer, since the problem is in the Linux side. connection has not being established yet at this stage
 
Back
Top