diff --git a/src/Umbraco.Core/Persistence/SqlExtensions.cs b/src/Umbraco.Core/Persistence/SqlExtensions.cs index ef32872556..7fbd254709 100644 --- a/src/Umbraco.Core/Persistence/SqlExtensions.cs +++ b/src/Umbraco.Core/Persistence/SqlExtensions.cs @@ -7,6 +7,9 @@ using System.Threading.Tasks; namespace Umbraco.Core.Persistence { + //TODO: check if any of this works and for what databse types it works for: + // ref: http://stackoverflow.com/questions/16171144/how-to-check-for-database-availability + internal static class SqlExtensions { public static bool IsConnectionAvailable(string connString) diff --git a/src/Umbraco.Web/Install/Controllers/InstallApiController.cs b/src/Umbraco.Web/Install/Controllers/InstallApiController.cs index c4ab14277a..d444b7e6bf 100644 --- a/src/Umbraco.Web/Install/Controllers/InstallApiController.cs +++ b/src/Umbraco.Web/Install/Controllers/InstallApiController.cs @@ -81,6 +81,8 @@ namespace Umbraco.Web.Install.Controllers /// public HttpResponseMessage PostCheckDbConnection() { + //TODO: Look into using SqlExtensions.IsConnectionAvailable which i started making for this + throw new NotImplementedException(); }