Topic on Project:Support desk

create account using SQL query

2
Sskorkim (talkcontribs)

HI~

I want to create an account using a query (mysql).

But I don't know how to encrypt the password. Help me.



INSERT INTO user(

user_name,

user_password,

user_newpassword,

user_email,

user_touched,

user_email_token,

user_registration,

user_editcount) values (

'g',

???????????,

'',

'',

date_format(now(), '%Y%m%d%H%i%s'),

'',

date_format(now(), '%Y%m%d%H%i%s'),

0);

Bawolff (talkcontribs)

dont do this. For starters you will have referential integrity issues with actor table.

Use createAndPromote.php instead

Reply to "create account using SQL query"