|
You last visited: Today at 00:15
Advertisement
Changing the database password
Discussion on Changing the database password within the Shaiya PServer Development forum part of the Shaiya Private Server category.
11/03/2013, 16:00
|
#1
|
elite*gold: 0
Join Date: Mar 2013
Posts: 20
Received Thanks: 0
|
Changing the database password
Hello friends,
an error when changed password of database :
"connection with server has been disconnected ERROR 0"
Edited ".ini" files :
C:\ShaiyaServer\SERVER\PSM_Server\Config
-PSMServer_Config
C:\ShaiyaServer\SERVER\PSM_Client\Bin\Config
-ps_dbAgent
-ps_game
-ps_gameLog
-ps_gamewar
-ps_login
-ps_session
-ps_userLog
|
|
|
11/03/2013, 16:09
|
#2
|
elite*gold: 0
Join Date: Nov 2013
Posts: 7
Received Thanks: 3
|
Hello,
Be sure that you edit the .ini files in the PSM_Client/Bin/Config (with the encrypted password from the ps_passwordEnc in PSM_Server), aswell as in Server Patch Config window. You might also want to rerun the linked servers query with the new password.
Code:
/* Add linked servers */
IF NOT EXISTS (SELECT srvname FROM master..sysservers WHERE srvname='game')
BEGIN
EXEC sp_addlinkedserver 'game','','SQLOLEDB','127.0.0.1';
EXEC sp_addlinkedsrvlogin 'game','false',null,'Shaiya','Shaiya123';
END
exec sp_serveroption @server='game', @optname='rpc', @optvalue='true';
exec sp_serveroption @server='game', @optname='rpc out', @optvalue='true';
IF NOT EXISTS (SELECT srvname FROM master..sysservers WHERE srvname='PS_DEFINEDB')
BEGIN
EXEC sp_addlinkedserver 'PS_DEFINEDB','','SQLOLEDB','127.0.0.1';
EXEC sp_addlinkedsrvlogin 'PS_DEFINEDB','false',null,'Shaiya','Shaiya123';
END
exec sp_serveroption @server='PS_DEFINEDB', @optname='rpc', @optvalue='true';
exec sp_serveroption @server='PS_DEFINEDB', @optname='rpc out', @optvalue='true';
IF NOT EXISTS (SELECT srvname FROM master..sysservers WHERE srvname='PS_NCASH')
BEGIN
EXEC sp_addlinkedserver 'PS_NCASH','','SQLOLEDB','127.0.0.1';
EXEC sp_addlinkedsrvlogin 'PS_NCASH','false',null,'Shaiya','Shaiya123';
END
exec sp_serveroption @server='PS_NCASH', @optname='rpc', @optvalue='true';
exec sp_serveroption @server='PS_NCASH', @optname='rpc out', @optvalue='true';
IF NOT EXISTS (SELECT srvname FROM master..sysservers WHERE srvname='PS_USERDB')
BEGIN
EXEC sp_addlinkedserver 'PS_USERDB','','SQLOLEDB','127.0.0.1';
EXEC sp_addlinkedsrvlogin 'PS_USERDB','false',null,'Shaiya','Shaiya123';
END
exec sp_serveroption @server='PS_USERDB', @optname='rpc', @optvalue='true';
exec sp_serveroption @server='PS_USERDB', @optname='rpc out', @optvalue='true';
IF NOT EXISTS (SELECT srvname FROM master..sysservers WHERE srvname='PS_GAMEDB01')
BEGIN
EXEC sp_addlinkedserver 'PS_GAMEDB01','','SQLOLEDB','127.0.0.1';
EXEC sp_addlinkedsrvlogin 'PS_GAMEDB01','false',null,'Shaiya','Shaiya123';
END
exec sp_serveroption @server='PS_GAMEDB01', @optname='rpc', @optvalue='true';
exec sp_serveroption @server='PS_GAMEDB01', @optname='rpc out', @optvalue='true';
IF NOT EXISTS (SELECT srvname FROM master..sysservers WHERE srvname='PS_USERDB01')
BEGIN
EXEC sp_addlinkedserver 'PS_USERDB01','','SQLOLEDB','127.0.0.1';
EXEC sp_addlinkedsrvlogin 'PS_USERDB01','false',null,'Shaiya','Shaiya123';
END
exec sp_serveroption @server='PS_USERDB01', @optname='rpc', @optvalue='true';
exec sp_serveroption @server='PS_USERDB01', @optname='rpc out', @optvalue='true';
If it still wont work, check your logs in PSM_Client/Bin/Log, might tell you what exactly can't connect.
|
|
|
11/03/2013, 16:50
|
#3
|
elite*gold: 0
Join Date: Mar 2013
Posts: 20
Received Thanks: 0
|
Can you help via skype procedures applied, but did not?
|
|
|
11/03/2013, 18:32
|
#4
|
elite*gold: 10
Join Date: Jan 2012
Posts: 1,698
Received Thanks: 5,456
|
And before you run this query, you must delete all linked servers and your current admin user.
|
|
|
11/03/2013, 19:37
|
#5
|
elite*gold: 0
Join Date: Mar 2013
Posts: 20
Received Thanks: 0
|
Thaks problem solved.
|
|
|
 |
Similar Threads
|
[Help]Changing the password
08/08/2012 - Rappelz Private Server - 1 Replies
Please help make the php document with the change password!
|
Question about password changing
05/24/2010 - Silkroad Online - 0 Replies
Hi everyone i need your help!
i need to change my id's PW but i cant remember the secret answer! :confused: , i know the registered email on the acc so... is there a way to change my password without the secret answer? idk somehow it can be change by email? thanks for ur replies!
|
Changing swsro password
11/22/2009 - SRO Private Server - 6 Replies
Hey guys
I was just wondering if there was a way to change your swsro password, i think it may have come up before. I dont know, i dont remember. Please leave a link or post.
|
Changing Password
11/25/2008 - Silkroad Online - 5 Replies
Okay somehow my account's PW got changed...
I have no goddam fcking clue how this would happen. I dont even know what the original email and security password was, how the hell is a hacker supposed to know? This is just ridiculous. Is there any way to change the password without those things?
|
[Help]Changing MySQL Password
02/09/2008 - EO PServer Hosting - 0 Replies
How would I change my MySQL password without messing up my eudemons server? please help :(
|
All times are GMT +1. The time now is 00:16.
|
|