Debian 7 x64, MSSQL 2008
Installed:
- PHP 5.4.36-0
- FreeTSD 0.91
- unixodbc
If I connect with:
tsql -S server_name -U user_name -P password -D db_name
all is ok, but if I try to connect via php:
mssql_connect('server_name', 'user_name', 'password')
it always says
Login failed for user 'user_name'. (severity 14)
Can anyone help me with this? Thanks.
update: Found a solution: make the password shorter and everything was fine. Old password contains 32 characters.