Import users once a day without a plugin

You can use wp_create_user and pass necessary information like $username, $password, $email , where $email is optional.

If user created successfully it will return ID of newly created user, other wise will return error object.

Then update user’s other information using update_user_meta.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)