The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

i want to connect mssql server

Discussion in 'General Discussion' started by wdp, May 8, 2008.

  1. wdp

    wdp Registered

    Joined:
    May 2, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    hi ;
    i have got linux server with cpanel and i want to connect mssql_server

    how can i do ...:rolleyes:


    mssql_connect("ip","user","pass");

    it doesn't work :(
     
  2. Stefaans

    Stefaans Well-Known Member

    Joined:
    Mar 5, 2002
    Messages:
    451
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Vancouver, Canada
    More often than not, a MS SQL server would not be open for public access (MS SQL Server has been the target of many attacks). In such cases one can only connect to the database from that same machine. My suggestion, therefore, is to first check with the administrator of the MS SQL Server that remote access is allowed.
     
  3. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    Which scripting language are you using? If you are using PHP then it should be like below:

    mssql_connect('MSSQL_Server', '$username, '$password');
     
Loading...

Share This Page