diff --git a/lib/installer.php b/lib/installer.php
index 14e2be6600f01cbb6781efb0643f9cc0c9b2f73b..965642e84764103170cd87a0369ca8ca8105124e 100644
--- a/lib/installer.php
+++ b/lib/installer.php
@@ -68,7 +68,7 @@ class OC_INSTALLER{
 						self::createDBUser($username,$password,$connection);
 						//use the admin login data for the new database user
 						OC_CONFIG::setValue('dbuser',$username);
-						OC_CONFIG::setValue('dbpass',$password);
+						OC_CONFIG::setValue('dbpassword',$password);
 						
 						//create the database
 						self::createDatabase($dbname,$username,$connection);