skip to Main Content

Why won’t SpringBoot accept ‘hp’@’localhost’ w/o a password?

Trying to connect with MySQL server with my SpringBoot application but facing above issue, can someone suggest? spring.datasource.url=jdbc:mysql://localhost:3306/myblog spring.datasourse.username=Admin spring.datasourse.password=Admin spring.jpa.properties.hibernate.dailect=org.hibernate.dialect.MySQLDialect spring.jpa.hibernate.ddl-auto=update Error as per below java.sql.SQLException: Access denied for user 'hp'@'localhost' (using password: NO) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:130) ~[mysql-connector-j-8.0.33.jar:8.0.33] at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)…

VIEW QUESTION

How to handle a ModelAndView object with JavaScript in HTML?

i have a controller that returns a ModelAndView, this controller is called with this script: document.getElementById('history-equipment').addEventListener('click', function(event) { event.preventDefault(); // Prevent the default anchor tag behavior (e.g., navigating to a new page) const url = '/View/Student/History'; // Replace with your…

VIEW QUESTION
Back To Top
Search