I am trying to create a demo, but I am not getting how it will be implemented, can any body help me to configure it.
I am using spring boot, and hibernate.
I have requirement like, first I'll get db login information via form, and then I'll save it into any file or any other source.
Now I have login detail of database, now I will allow hibernate to connect with my database and create tables, and other query will be executed.
but I am facing issue with hibernate, as project is starting it shows me error
Caused by: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)
because when the project is getting started it loads hibernate to create tables and structures.
but I want to execute this task after getting database login detail from user via a form.
means I want that the project should start without login detail of database, and also hibernate do not throws any error.
What I suppose to do for resolving this problem.