Simple Help Please :D

Results 1 to 6 of 6
  1. #1

    Simple Help Please :D

    Okay, so I just want to ask a quick question, this isnt a spam or flame thread.

    SO I've begun working on my server again and I've run into a little problem, when I go to the Register page, I keep getting this error:

    Code:
    Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: DAVID-PC\SQLEXPRESS in C:\wamp\www\testestt\index.php on line 40
    Cannot connect to database or server
    I don't know how to fix it, my password and SQL Name or whatever is correct, I've checked countless times, and re-installed SQL Server Lots of times to make sure the password was right, but nothing seems to be working.... I'd appreciate any help. Thanks a ton :)

    Again, this isn't a flame or spam thread so if you aren't going to help, then please don't comment, thanks again(:


  2. #2
    Unity Developer SirTwistedStorm is offline
    Grand MasterRank
    Oct 2008 Join Date
    TexasLocation
    597Posts

    Re: Simple Help Please :D

    wamp?

  3. #3

    Re: Simple Help Please :D

    Yeah
    :P

  4. #4
    Unity Developer SirTwistedStorm is offline
    Grand MasterRank
    Oct 2008 Join Date
    TexasLocation
    597Posts

    Re: Simple Help Please :D

    download the newest ntwdblib.dll

  5. #5
    Elite Member sora1212 is offline
    Member +Rank
    Dec 2009 Join Date
    134Posts

    Re: Simple Help Please :D

    Open up wamp
    Go to PHP>php extenstions.

    The following must be checked: php_mssql, php_pdo_mssql.
    Do it one at a time, let it restart.

    Go back to PHP, but click on php.ini.
    Find(ctrl + f): mssql

    You should get: extension=php_mssql.dll
    If there isn't any ; before extenstion, put a ; infront of it.
    It should look like this:
    ;extension=php_mssql.dll

    Save it.
    Go to localhost/register.php .

    Hope this helped.

  6. #6
    Sorcerer Supreme Akerius is offline
    Member +Rank
    Apr 2011 Join Date
    Planet OithLocation
    280Posts

    Re: Simple Help Please :D

    if your using windows 7, use wampserver 2.1 (oldversion)
    then follow the steps given by sora1212 and 420twisted1



Advertisement