- Requires NodeJS, NPM
- Clone [https://github.com/webplatform/fxa-auth-server fxa-auth-server] in a folder of the same name
- Install dependencies in fxa-auth-server with npm install
- Go a folder up, create a new one and paste the following in it
- Run this query from MySQL Workbench.
SELECT
CONVERT(user_name USING utf8),
CONVERT(user_real_name USING utf8),
CONVERT(user_email USING utf8),
CONVERT(user_registration, DATETIME),
user_id
FROM
user
ORDER BY user_id
LIMIT 40000;
- Export the result in a file
users.csv
, it’ll be used to import - Make sure the output is a CSV file ** one entry per line ** Fields in this order: username, realname, email, creation date