|
You last visited: Today at 14:24
Advertisement
Beware loads of questions concerning setting up a server.
Discussion on Beware loads of questions concerning setting up a server. within the Shaiya Private Server forum part of the Shaiya category.
03/12/2012, 02:27
|
#1
|
elite*gold: 0
Join Date: Apr 2010
Posts: 10
Received Thanks: 1
|
Beware loads of questions concerning setting up a server.
Hi everyone;
I'm currently trying to set up a SQL 2005 express server on my computer + PHP engine to work with the shaiya databases. Although I haven't had much luck with any yet. I would be very pleased if someone can assist me through several cases;
- Before I begin I should make something clear; I'm only setting up this server for testing. So I don't go ruin the dedicated server's configurations :P -
1) I'm running win7 x64 on my laptop and installed 2005 mssql express. Would this cause any conflict at all?
2) How can I get xampp or wampp to work with mssql and how can I connect them with each other?
3) I've tried setting up shaiya test server on my laptop several times but somehow for some reason I haven't succeeded. Can someone please assist me on this especially?
Thank you very much in advance.
|
|
|
03/12/2012, 02:34
|
#2
|
elite*gold: 0
Join Date: Sep 2010
Posts: 520
Received Thanks: 1,289
|
1. No. I have a test server running on this laptop, and I run Windows 7 64 bit.
2. Xampp/Wampp/IIS will all work with, and connect to MSSQL. There are 3 methods they can use, though one will not work in recent builds due to deprecation. MSSQL (deprecated), ODBC, and SqlSrv.
3. If you list your reasons, I'm sure either I, or a lot of the developers on our community can and will assist you, as they have everyone else.
|
|
|
03/12/2012, 02:37
|
#3
|
elite*gold: 0
Join Date: Feb 2012
Posts: 59
Received Thanks: 28
|
Quote:
|
1) I'm running win7 x64 on my laptop and installed 2005 mssql express. Would this cause any conflict at all?
|
If mssql is correctly setup, it should work.
Quote:
|
2) How can I get xampp or wampp to work with mssql and how can I connect them with each other?
|
If you success to connect wamp or xampp with mssql i'll call you ***, it's your php scripts only that will connect with sql.
Quote:
|
3) I've tried setting up shaiya test server on my laptop several times but somehow for some reason I haven't succeeded. Can someone please assist me on this especially?
|
Just read the forum, there's like 5 tutorials for set up a server (and 1 with video).
|
|
|
03/12/2012, 03:07
|
#4
|
elite*gold: 0
Join Date: Apr 2010
Posts: 10
Received Thanks: 1
|
I've checked with a friend of mine who has a shaiya test server running on his computer. I will try to get the php engine to work with his server. He has win7 and mssql 2005 express installed and working.
So, I think I need help with the second objective much more at the moment. What method is better; sqlsrv or ODBC? And once I install wamp, how do I disable mysql - Would I need to? - and get Apache to work with the sql server? Or does sqlsrv or odbc automatically fix that for me?
Quote:
Originally Posted by VirtuozZ
If you success to connect wamp or xampp with mssql i'll call you ***, it's your php scripts only that will connect with sql.
|
Yeah, I know but even through the scripts can't access the sql server. I get and error "You need to have SQL library installed for Apache." even if I've gone through with a guide on how to do it. Probably I've done somethings wrong though lol
|
|
|
03/12/2012, 04:24
|
#5
|
elite*gold: 0
Join Date: Sep 2010
Posts: 520
Received Thanks: 1,289
|
I prefer ODBC, but a former developer here that left (Castor) pointed out that SqlSrv is better is some ways.
Either one will work, but most of the scripts on this site would have to be rewritten. I have rewrote all (most) I found in ODBC to ease the process for our community members, but as I don't use, nor intend to use SqlSrv, I have not, and (will not) currently rewrite one to use the SqlSrv base.
Though this should not stop you. Research both and find which you'd prefer. Once you do, you could easily look up the functions in the current scripts and find replacements for them for the new functions present in the ODBC and/or SqlSrv libraries.
|
|
|
03/12/2012, 05:55
|
#6
|
elite*gold: 0
Join Date: Apr 2010
Posts: 10
Received Thanks: 1
|
I'm looking at the functions I have to change now, thank you very much for your assistance. I'll check back in here if I have any more questions.
|
|
|
03/13/2012, 19:46
|
#7
|
elite*gold: 0
Join Date: Apr 2010
Posts: 10
Received Thanks: 1
|
I've managed to get the server and database running. But when I execute the PHP, I get an error;
Connection could not be established.
Array ( [0] => Array ( [0] => IMSSP [SQLSTATE] => IMSSP [1] => -49 [code] => -49 [2] => This extension requires the Microsoft SQL Server 2011 Native Client. Access the following URL to download the Microsoft SQL Server 2011 Native Client ODBC driver for x86: http://go.microsoft.com/fwlink/?LinkId=163712 [message] => This extension requires the Microsoft SQL Server 2011 Native Client. Access the following URL to download the Microsoft SQL Server 2011 Native Client ODBC driver for x86: http://go.microsoft.com/fwlink/?LinkId=163712 ) [1] => Array ( [0] => IM002 [SQLSTATE] => IM002 [1] => 0 [code] => 0 [2] => [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified [message] => [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified ) )
How can I fix this? I have sqlsrv set up and seems as it is working.
|
|
|
 |
Similar Threads
|
[Some Questions] i want to ask about server setting up:D :D
03/09/2012 - SRO Private Server - 1 Replies
Hello ..
i am planing to open a server ..
but first i have to set up a server to test and learn how to control it , etc ..
i tried to make a server on my own PC , but i failed , some friend told me about HAMACHI .. i think it is good if it is a test server but problem is ..
first of all , is there is any guid about making a server using hamachi ?
second .. to use hamachi , where does serverfiles stored GS , DB and others ????
third .. how can i control the server .. i mean with SQL...
|
Questions about setting up a private server
05/08/2011 - CO2 Private Server - 0 Replies
Hey guys,
I have been thinking of setting up a private server, I have a friend who would be willing to run a dedi box for me.
So i was wondering what kind of dedi box will i need for a conquer private server?
I actually have no idea AT ALL how to make a server.
So i would need to find people too help out with it (I know theres stuff on the forum about setting it up, but im still useless)
And if i did get a dedi box who would be interested in helping? (Experienced people)
Thanks
|
All times are GMT +1. The time now is 14:25.
|
|