USE mysql;

REPLACE INTO user (host, user, password)
    VALUES (
        'localhost',
        'ehomes',
-- IMPORTANT: Change this password!
        PASSWORD('qwerty')
    );

REPLACE INTO db (host, db, user, select_priv, insert_priv, update_priv,
                 delete_priv, create_priv, drop_priv)
    VALUES (
        'localhost',
        'temp_ehome',
        'ehomes',
        'Y', 'Y', 'Y', 'Y',
        'Y', 'Y'
    );

FLUSH PRIVILEGES;
