Nextcloud fails with AWS RDS MYSQL/Mariadb

HI I am trying to setup using RDS. I should see the supplied dbuser in config file but the occ install command gets stuck and the system does not recover and the the dbuser in the config file is oc_. I see the tables created in the database but nextcloud doesn’t work. Please help its urgent!