diff --git a/lib/private/setup/oci.php b/lib/private/setup/oci.php
index e6475d97460334382430d7bdf9979c2b4c7f9fe5..997d50c8afb04122483c28319f7764d7c78be94e 100644
--- a/lib/private/setup/oci.php
+++ b/lib/private/setup/oci.php
@@ -74,12 +74,12 @@ class OCI extends AbstractDatabase {
 
 			$this->createDBUser($connection);
 
-			\OC_Config::setValue('dbuser', $this->dbusername);
-			\OC_Config::setValue('dbname', $this->dbusername);
+			\OC_Config::setValue('dbuser', $this->dbuser);
+			\OC_Config::setValue('dbname', $this->dbuser);
 			\OC_Config::setValue('dbpassword', $this->dbpassword);
 
 			//create the database not neccessary, oracle implies user = schema
-			//$this->createDatabase($this->dbname, $this->dbusername, $connection);
+			//$this->createDatabase($this->dbname, $this->dbuser, $connection);
 		} else {
 
 			\OC_Config::setValue('dbuser', $this->dbuser);