PHP SQL Server Does not Exist

Discussion in 'Databases' started by drew630, Jun 20, 2010.

  1. Hello all.

    I am new here. Just signed up today.

    I managed to to get all of my ASP.NET code to work with the database connection, using the connection string provided. But am having problem with a little php script I am using. I am using the code provided in the knowledge base, but get this error:
    SQL error: [Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied., SQL state 08001 in SQLConnect in

    here is the KB article:
    https://support.Winhost.com/KB/a687...ase-with-php-using-dsn.aspx?KBSearchID=169294

    Anyone using PHP who can give me a hand? or some sample code?

    (I am using s02.Winhost.com)

    Thanks.
     
    Last edited by a moderator: Oct 14, 2015
  2. Ray

    Ray

    Sounds like its your connection string. Can you paste the PHP connection string code on this thread?
     

Share This Page