What is the actual issue? MySql?
<p><em>Hello</em>, I have been trying to solve this problem for many days with no resolve. I am a <strong>BEGINNER</strong>, so dim things done for me, please. My question is what is the problem, there are many stones to turn over from my perspective. Just need to be shown in the <strong>right direction</strong>.</p>

<p>I have completely restarted my computer and uninstall the mysql at least 4x. I have invested a lot of time in trying to figure this out. <strong>Too much time</strong> has been put in this. So any help is truly appreciated.
The answer might be something I might not know I had to do but is <strong>obviouse</strong>. Like to install something.</p>

<p><strong>Computer status:</strong></p>

<p>Mac El Captain, MySQL 5.7, Netbeans 8.1, Tomcat 8.0 (told not install the latest version), Connect/J (might have not set this up correctly)</p>

<p>I followed these instruction <a href="https://netbeans.org/kb/docs/ide/mysql.html" rel="nofollow noreferrer">https://netbeans.org/kb/docs/ide/mysql.html</a>.
When I establishing a new connection on Netbeans, I have tested the connection and it was successful. I created a database on my Netbeans and I see it on my command line what I do show databases;</p>

<p>I don't think I have done anything wrong, I think I have something simply missing.</p>

<p><strong>Error Messages</strong> When Clean and Building a project on NetBeans that has tests using mysql.</p>

<p>1.</p>

<blockquote>
  <p>Establishing SSL connection without server's identity verification is
  not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+
  requirements SSL connection must be established by default if explicit
  option isn't set. For compliance with existing applications not using
  SSL the verifyServerCertificate property is set to 'false'. You need
  either to explicitly disable SSL by setting useSSL=false, or set
  useSSL=true and provide truststore for server certificate
  verification. Jan 04, 2016 11:46:29 AM
  org.springframework.context.support.ClassPathXmlApplicationContext
  prepareRefresh</p>
</blockquote>

<p>2.</p>

<blockquote>
  <p>Could not get JDBC Connection; nested exception is
  org.apache.commons.dbcp.SQLNestedException: Cannot create
  PoolableConnectionFactory (Access denied for user 'root'@'localhost'
  (using password: YES))</p>
</blockquote>

<p>I want the possible problems, the direction I need to look at.</p>

<p><strong>Error Message 1.</strong> I have not found any solution on the net yet for this, any links would be helpful.</p>

<p><strong>Error Message 2.</strong> I have gone to every corner of the web figuring this problem out and no luck.</p>

<p>I have reset my password of root@localhost to root
I have flushed my privileges
I have done this every conceivable way and in a remarkable amount of times.
And whole lot of other things.
I can log in normal using mysql -u root -p and then entering my root password.</p>

<p>I just need need to know what doors there are and which are most likely the problem. </p>

<p>Here is a pic that might help: <a href="https://i.stack.imgur.com/Cvsag.png" rel="nofollow noreferrer">pic</a></p>

<p>Side Question:
my.cnf file of MySql is it still a file in the new version of MySQL? I have read about it, my computer does not have it. I am assuming it was there in the older versions.</p>