• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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.

Issue connecting to remote mssql from linux plesk via php

nisamudeen97

Regular Pleskian
0 down vote favorite
I am trying to connect to remote Microsoft SQL server 2012 service pack 2 database from my Linux machine which is having php 5.3, php-mssql support and mysql version 5.5 enabled. Meanwhile I am getting below error message even if the login details are correct.

The ms-sql database is using Persian collation which cannot be changed. Is there any possible fix for this?

[root@i]# /usr/bin/tsql -H remove-server-ip -p 1433 -U mssql-user

locale is "en_IN" locale charset is "UTF-8" using default charset "UTF-8" Msg 4075 (severity 16, state 1) from RAHKARAN Line 1: "

The USE database statement failed because the database collation Persian_100_CI_AI is not recognized by older client drivers. Try upgrading the client operating system or applying a service update to the database client software, or use a different collation. See SQL Server Books Online for more information on changing collations."

Msg 18456 (severity 14, state 1) from RAHKARAN Line 1: "Login failed for user 'mssql-user'." Error 20002 (severity 9): Adaptive Server connection failed There was a problem connecting to the server

Error 20002 (severity 9)

Freetds version is below

Compile-time settings (established with the "configure" script)
Version: freetds v0.91
freetds.conf directory: /etc
MS db-lib source compatibility: yes
Sybase binary compatibility: yes
Thread safety: yes
iconv library: yes
TDS version: 4.2
iODBC: no
unixodbc: yes
SSPI "trusted" logins: no
Kerberos: yes
 
Back
Top