Error in executing drush command I am trying to execute drush command from my project root directory and i am getting following error 

bootstrap a site that has not been installed or does not have a
configured database. In this case you can select another site with a
working database setup by specifying the URI to use with the --uri
parameter on the command line. See drush topic docs-aliases for
details.
 * connect the database through a socket. The socket file may be
wrong or the php-cli may have no access to it in a jailed shell.
This message occurs with a working site if the site settings.php file is not in the sites/default directory but a sites/example.com directory. In that case to specify the uri of the site you wish to address you use the syntax

drush --uri=example.com [command]