0

[36mo.a.tomcat.jdbc.pool.ConnectionPool [0;39m [2m:[0;39m Unable to create initial connections of pool.

java.sql.SQLException: Access denied for user 'root '@'localhost' (using password: YES)

Neil Stockton
  • 11,383
  • 3
  • 34
  • 29
Donald
  • 1
  • 1
  • It's a MySQL permissions issue. You aren't allowed to connect to the database. Very bad idea to use the root password, by the way. – duffymo May 05 '17 at 16:57
  • Thanks for the reply. I had spring and tomcat connected previously using the exact setup. Once my computer crashed I lost all files. After reinstalling everything, the Spring boot will not connect. – Donald May 05 '17 at 17:01
  • You ought to be using a source code management system like Subversion or Git. You wouldn't lose everything that way. Sorry, start again. You won't get anywhere by insisting "I'm right; it should work." Sounds like you didn't understand what you did in the first place. – duffymo May 05 '17 at 17:04
  • I will admit I am a novice. I am enrolled in a full stack online teaching environment. I followed the video the way it was presented using the tools the instructor advised. As mentioned before I had it up and running until the computer crash. – Donald May 05 '17 at 17:13
  • You need to learn more. Sorry, I don't think I'll be able to bail you out. Start again. – duffymo May 05 '17 at 17:39
  • Thanks, that would probably be my best bet at this point. – Donald May 05 '17 at 18:14
  • Found the problem. I had an extra space after username 'root'. – Donald May 06 '17 at 03:34

0 Answers0