Cannot Connect To The Configuration Database Error - Sharepoint

ERROR:

Cannot connect to the configuration database. For tips on troubleshooting this error, search for article 823287 in the Microsoft Knowledge Base at http://support.microsoft.com.

QUICKFIX:

Check the database services is started

Check if the 'Path to Executable' point to the correct folder.

Finally check if system databases exists in the data folder