Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4626576
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T03:26:26+00:00 2026-05-22T03:26:26+00:00

I have php5 installed on an ubuntu 10.10 server from which I am trying

  • 0

I have php5 installed on an ubuntu 10.10 server from which I am trying to connect via mssql_connect() to a SQL Server 2005 database running on a Windows 2003 Server. I am getting an error which I believe is because the SQL Server 2005 instance is using the ‘Windows Authentication’ login method. The error is:

Warning: mssql_connect(): message: Login failed for user 'lv_admin'. (severity 14) in /var/www/AOI/collectserials.php on line 17

The error log in the SQL Server database shows the following:

Login failed for user 'lv_admin'. [CLIENT: (ip of my php server)] 
Error: 18456, Severity: 14, State: 5.

Where lv_admin is the username logged into the Windows 2003 server so I’m not sure what the problem is…

PHP:

$con = mssql_connect("128.251.xxx.xx", 'lv_admin', '[mypass]');
mssql_select_db("itf", $con);

I need some help solving this issue..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T03:26:27+00:00Added an answer on May 22, 2026 at 3:26 am

    I actually figured out my problem. With Windows Authentication I still need to have the username used in the remote script commands specified in the SQL Server Users location. Once I added lv_admin as an ‘SQL Authenticated’ user in the Security->Logins section I could get a valid connection to the server but the connection to the database failed. So I went into the ‘itf’ database->Security->Users and added lv_admin there also specifying the privileges I needed and it worked. Hope this saves someone else tons of time!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have django+python+apache2+mod_python installed hosted and working on ubuntu server/ linode VPS. php5 is
I have installed php5.3.2 and MySql on Ubuntu 10.4. Now how do I add
I am trying to bind to AD with php_ldap (using ADLdap), from a Ubuntu
I have just ordered a VPS from my provider. I have some Q however...
I have correctly (or prbably not) installed passenger on apache 2. Rack works, but
I have been using Apache on my local LAN. The problem is that i
This is driving me nuts! I am getting the classic Can't connect to local
I have inherited a web project that is perl based and I'm attempting to
I originally asked this question on ServerFault and haven't got any response and I
I set up a new RoR project on MAC OS Leopard, created a repository,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.