Hi,
I start by saying that I've already posted this same message to netbeans.org forum. It's not my intenition to make cross posting, but I actually have a remarkable problem, and I need to work it out, because of my job. Since I had not reply from the other forum, I afford to post it here. I'm sorry for this anyway.
I can't connect to MySQL by using Netbeans, i've spent the whole day trying to do it, but I couldn't.
The environment I am using is this:
- mac os
- XAMPP
- Netbeans 8.0.2
I just want to start MySQL server from Netbeans, and I try to do it by adding the following driver:
mysql-connector-java-5.1.35-bin.jar
but it doesn't work. When I
test the connection I get the following message:
Cannot establish a connection to jdbc:mysql://localhost:3306/BookSellerDB?zeroDateTimeBehavior=convertToNull...
I added the jar on my application library (the same connector version that I added while trying to establish the connection.). I also added the same file in the application folder (Window --> files...).
I really am in troubles.
Can anyone give me any suggestion? I'm getting crazy.
Thank you in advance
ps.: I add that I don't see anymore the symbol of the connection (I send an image of this icon) after adding a new driver, I see gears only.
This is strange and let me think that I made a mess.
ps2.: I add another clue to describe the issue: if I try to register MySQL server (Services --> Databases --> Register MySQL Server) I cannot, the function seems to be disabled.