• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

SQL Query to add new account

Newbie Spellweaver
Joined
Mar 26, 2020
Messages
10
Reaction score
1
Hi everyone, for the life of me I can't find a query that add new account (username and password) I hope it is possible , I know there are tools that do this but I am having issue with my MSSQL server as I am only doing it on my pc and there are some issue with the access so any account I create in MSSQL local host won't be able to login.

Thank you in advance.
 
Joined
May 26, 2009
Messages
17,312
Reaction score
3,222
Hi everyone, for the life of me I can't find a query that add new account (username and password) I hope it is possible , I know there are tools that do this but I am having issue with my MSSQL server as I am only doing it on my pc and there are some issue with the access so any account I create in MSSQL local host won't be able to login.

Thank you in advance.

why u dont use an editor to make account? mumaker,mueditor 2.1 / mu account create md5 etc
 
Upvote 0
Newbie Spellweaver
Joined
Nov 17, 2016
Messages
15
Reaction score
20
Depends on the files, some have more or less "not nullable" fields that require a value but this generally works.

Change "MuOnline" for the name of your Database
'testid' is the account
'testpw' is the password
'testname' is the name of the owner (doesn't really matter)
1234567891234567 is the secret code
the 0 is for bloc_code
the 1 is for clt1_code

USE MuOnline
INSERT INTO MEMB_INFO (memb___id, memb__pwd, memb_name, sno__numb, bloc_code, ctl1_code)
VALUES ('testid', 'testpw', 'testname', 1234567891234567, 0, 1)

if the query says that some of those fields doesn't exist, just remove the field name and its positional matching value
otherwise if the query says that requires some specific values like AccountLevel, AccountExpireDate, etc. just add them in the first parenthesis at the end separated with comas and in the second parenthesis add the values always matching the position of every value in both parenthesis
 
Upvote 1
Back
Top