• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using the MySql database

 
Matthew Tilic
Ranch Hand
Posts: 41
Chrome Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

I have now got Netbeans 7 and have previously on my work machine gone to services, right clicked databases "New Connection" and then chosen finish and BOOM I have a database I can send to, open and close which is all very nice.

Now at home I have no list of databases and when I right click "New Connection" I get this fabulous notification

cannot establish a connection to jdbc:mysql://localhost:3306/mysql using com.mysql.jdbc.Driver (Communications link failure  The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)

Just perfect

THanks
 
Paul Clapham
Sheriff
Pie
Posts: 20729
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Matthew Tilic wrote:Just perfect


I guess that, despite your apparent total approval of the situation, you really have a question?

It appears that somebody configured your work machine with links to some MySQL server somewhere. You're going to have to do the same thing to your home machine.

(And this isn't anything to do with Java programming. You haven't even got there yet. You're still trying to configure your Netbeans environment. So let me move this post to the forum which is about Netbeans.)
 
Matthew Tilic
Ranch Hand
Posts: 41
Chrome Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yer. I have looked online and can not find anything concrete on configuring it
 
Paul Clapham
Sheriff
Pie
Posts: 20729
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm surprised. When I used "configure netbeans databases" for my google query, the second result I got back was Connecting to a MySQL Database.
 
Phillip Ankerson
Greenhorn
Posts: 27
Java MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should be able to find out how to do that fairly easy. Connecting to a MySQL Database
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic