-- drop the user if it is already created DROP USER qute; -- create a new user, password is 'qute' CREATE USER qute IDENTIFIED BY qute; -- grant necessary privileges to this user GRANT CONNECT, RESOURCE, DBA TO qute; GRANT EXECUTE ON utl_file TO qute;