For example with nova-api.
If /database/connection is not specified it will try to connect to localhost:
2018-03-22 11:14:36.419 19615 WARNING oslo_db.sqlalchemy.engines [req-79c428ff-1c14-4225-9530-18e948f0798f - - - - -] SQL connection failed. -1 attempts left.: DBConnectionError: (_mysql_exceptions.Operat
ionalError) (2002, 'Can\'t connect to local MySQL server through socket \'/var/lib/mysql/mysql.sock\' (2 "No such file or directory")') (Background on this error at: http://sqlalche.me/e/e3q8)
For example with nova-api. connection is not specified it will try to connect to localhost: sqlalchemy. engines [req-79c428ff- 1c14-4225- 9530-18e948f079 8f - - - - -] SQL connection failed. -1 attempts left.: DBConnectionError: (_mysql_ exceptions. Operat lib/mysql/ mysql.sock\ ' (2 "No such file or directory")') (Background on this error at: http:// sqlalche. me/e/e3q8)
If /database/
2018-03-22 11:14:36.419 19615 WARNING oslo_db.
ionalError) (2002, 'Can\'t connect to local MySQL server through socket \'/var/