I was getting below error when I run jUnit tests:
WARN 2010-02-15 13:39:25.602 org.hibernate.util.JDBCExceptionReporter.logExceptions()
SQL Error: 0, SQLState: null
ERROR 2010-02-15 13:39:25.627 org.hibernate.util.JDBCExceptionReporter.logExceptions()
Cannot create PoolableConnectionFactory (Access denied for user 'root'@'localhost' (using password: YES))
WARN 2010-02-15 13:39:25.629 org.hibernate.cfg.SettingsFactory.buildSettings()
Could not obtain connection metadata
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Access denied for user 'root'@'localhost' (using password: YES))
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
Solution:
I needed to change mysql server password using command line:
mysqladmin -u root -p'oldpassword' password newpass
My favorite quotations..
“A man should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.” by Robert A. Heinlein
"We are but habits and memories we chose to carry along." ~ Uki D. Lucas
Recommended pages
Popular Recent Articles
-
O'REILLY 201 0011 031 10110100180 000110111 01100041 001100010010000 5011011001010 1101110011 000100000 00000 10 1000012 Escaping the Bu...
-
I have noticed a very unsettling statistic on my blog. This prompted a fascinating question about AI, blogs' future, and maybe even the...
-
By default, iPhone assumes that the page width is industry standard (ie. 980px), even if you display a tiny widget. To make the page with w...
-
Check out this video on YouTube: http://www.youtube.com/watch?v=BIEwUxMrJ4Y
-
https://arxiv.org/abs/2402.14531#:~:text=This%20phenomenon%20suggests%20that%20LLMs,language%20processing%20and%20LLM%20usage
-
When trying to open the database you may get the following exception: java.sql.sqlexception: [sqlite_error] sql error or missing database (n...
-
After four meetings in a row, I had the need to get out of the office and go to Redmond French Cafe . The “Croque Madame” plate is not the b...
-
Only 9 years ago - 500,000 downloads - 2303 reviews Not too shabby. Today - couldn't log in Please SUBSCRIBE: https://ukidlucas.beehiiv...
-
TensorFlow 1.0 is promising more stable GPU build for Mac, let's test it. Make sure you have CUDA installed $ echo $DYLD_LIBRARY_PATH /u...
-
On the mobile, the page is hard to read so I am including a LINK to Google document ...