How can connect database in localhost

if i have connected to database in (simple or advanced) seems it shows error like(

Unable to create the database. The password might be incorrect or the database is not started.

???Error executing sql: create database if not exists ? default character set utf8 - Could not create connection to database server. Attempted reconnect 3 times. Giving up.??? ) how to config …?

@ovi could you share the server side logs via