Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Using the MySql database

 
Ranch Hand
Posts: 41
MySQL Database Chrome Java
  • 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
 
Marshal
Posts: 25818
69
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
MySQL Database Chrome Java
  • 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
Marshal
Posts: 25818
69
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.
 
Greenhorn
Posts: 27
Netbeans IDE MySQL Database Java
  • 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
 
No holds barred. And no bars holed. Except this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
    Bookmark Topic Watch Topic
  • New Topic