Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2008
»
SQL Server Newbies
»
SQL 2000 Connection problem
SQL 2000 Connection problem
Rate Topic
Display Mode
Topic Options
Author
Message
darkston3e
darkston3e
Posted Monday, September 22, 2008 2:39 AM
Forum Newbie
Group: General Forum Members
Last Login: Thursday, September 25, 2008 7:36 AM
Points: 3,
Visits: 5
Hello people,
I have a very big problem which I don't understand:
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: 82.77.172.227 in C:\xampp\htdocs\include\class.mssql.php on line 42
Database error: connect (82.77.172.227, sa, $Password) failed
MSSQL Error: 0 ()
Session halted.
The password in the config file is OK, the password in SQL is OK.
I did install the website on a different host connected to the same database, and it's worked, but.. when I install the website in the server , where the database is ... it's not connecting to it and I can't solve this problem !
Allready 24 hours passed since i'm trying to fix it and i can't...
As for web hosting i'm using XAMPP.
Hope some one will answer to me and help me solve this problem.
Regards,
DarkStone.
Post #573312
Jason Crider
Jason Crider
Posted Monday, September 22, 2008 6:02 PM
SSC Veteran
Group: General Forum Members
Last Login: Yesterday @ 7:31 AM
Points: 282,
Visits: 2,123
are you using a hosting company who may have settings you aren't aware of?
MCITP
, Database Administrator
A hodgepodge of Information Technology and Life
LinkedIn Profile
My Twitter
Post #573950
darkston3e
darkston3e
Posted Monday, September 22, 2008 11:30 PM
Forum Newbie
Group: General Forum Members
Last Login: Thursday, September 25, 2008 7:36 AM
Points: 3,
Visits: 5
I'm using my own dedicated server and i'm using SQL 2000 , not 2005.
Post #574034
Jason Crider
Jason Crider
Posted Tuesday, September 23, 2008 7:07 AM
SSC Veteran
Group: General Forum Members
Last Login: Yesterday @ 7:31 AM
Points: 282,
Visits: 2,123
I see you are using php. I've used it just enough to be dangerous but is there a possibility about the connection to the database and a problem with localhost?
MCITP
, Database Administrator
A hodgepodge of Information Technology and Life
LinkedIn Profile
My Twitter
Post #574292
darkston3e
darkston3e
Posted Tuesday, September 23, 2008 11:41 PM
Forum Newbie
Group: General Forum Members
Last Login: Thursday, September 25, 2008 7:36 AM
Points: 3,
Visits: 5
Jason Crider (9/23/2008)
I see you are using php. I've used it just enough to be dangerous but is there a possibility about the connection to the database and a problem with localhost?
I don't know if there is a problem, that is why i'm asking you ...
I saw that the script allows me to connect tho the ODBC .. but i don't know how to change all the script to use only ODBC connection.
Post #574904
Linda Johanning
Linda Johanning
Posted Thursday, September 25, 2008 7:35 AM
Old Hand
Group: General Forum Members
Last Login: Monday, May 13, 2013 11:26 AM
Points: 330,
Visits: 510
As a side note, once you get the problem solved I suggest that you do not use the 'sa' account and hardcoding the password in a config file. This could end up being a security issue down the line. Just a word of caution
Post #575978
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.