$app->log('Software Updates not enabled on this server. To enable updates, set $conf["software_updates_enabled"] = true; in config.inc.php',LOGLEVEL_WARN);
$app->log('Created MySQL database: '.$db_config['database_name'],LOGLEVEL_DEBUG);
}else{
$app->log('Unable to connect to the database'.mysqli_error($link),LOGLEVEL_ERROR);
}
if(mysqli_query("GRANT ALL ON ".mysqli_real_escape_string($link,$db_config['database_name']).".* TO '".mysqli_real_escape_string($link,$db_config['database_user'])."'@'".$db_config['database_host']."' IDENTIFIED BY '".mysqli_real_escape_string($link,$db_config['database_password'])."';",$link)){
$app->log('Created MySQL user: '.$db_config['database_user'],LOGLEVEL_DEBUG);
}else{
$app->log('Unable to create database user'.$db_config['database_user'].' '.mysqli_error($link),LOGLEVEL_ERROR);