Cannot connect to database

Actually, some problem was with the project as is.
So, the solution was to regenerate a new project.