Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cakephp database connection issue with sql server 2005 in Linux environment #89

Open
ghost opened this issue Oct 11, 2013 · 0 comments
Open
Labels

Comments

@ghost
Copy link

ghost commented Oct 11, 2013

Created by Deepak Bhatt, 23rd Aug 2013. (originally Lighthouse ticket #55):


Hi,
I am using a Datasources plugin to connect with sql server 2005 in my application. But i am getting following error :

Warning (2): mssql_connect(): Unexpected EOF from the server (severity 9) [APP/Plugin/Datasources/Model/Datasource/Database/Mssql.php, line 155]
Warning (2): mssql_connect() [http://php.net/function.mssql-connect]: Adaptive Server connection failed (severity 9) [APP/Plugin/Datasources/Model/Datasource/Database/Mssql.php, line 155]
Warning (2): mssql_connect() [http://php.net/function.mssql-connect]: Unable to connect to server: 192.168.12.40:1433 [APP/Plugin/Datasources/Model/Datasource/Database/Mssql.php, line 155]
Warning (2): mssql_select_db() expects parameter 2 to be resource, boolean given [APP/Plugin/Datasources/Model/Datasource/Database/Mssql.php, line 160]
Warning (2): Invalid argument supplied for foreach() [APP/Plugin/Datasources/Model/Datasource/Database/Mssql.php, line 246]

Do i need to install any extension or database drivers in my linux machine.

Thanks in advance.

With Regards
Deepak

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant