Results 1 to 2 of 2
Thread: Problems using MySQL database
- 02-13-2011, 03:24 AM #1
Member
- Join Date
- Feb 2011
- Posts
- 1
- Rep Power
- 0
Problems using MySQL database
Hi, I've searched through the internet for how to fix this problem but haven't gotten anything yet, so any help will be highly appreciated.
I've been using the latest version of Eclipse+Tomcat 7 in order to learn how to program servlets. As a college project, I need to do the website for an online music store, so I need to work with databases too (for clients, products, etc).
I've been trying to get MySQL with Eclipse, so I downloaded the J/Connector (last version) from the MySQL website and installed the Data Tools Plataform for Eclipse. I also downloaded some sample databases.
Then, I started Eclipse and tried to add a database to my workspace. After selecting the MySQL JDBC Driver that I downloaded, and locating one of the sample databases into my workspace folder, I try to connect to the DB from Eclipse. However, when I try to test connectivity it says "Ping failed. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server."
I would appreciate any help from anybody who's done this before or has any idea of how to fix it. Also, even though I'm trying to use MySQL (because it's the one I used a couple years ago in another college class), I am open to any other possibility that allows me to work with databases from Eclipse in the simplest way.
Thanks.
- 02-16-2011, 04:57 AM #2
Member
- Join Date
- Nov 2010
- Posts
- 5
- Rep Power
- 0
Similar Threads
-
How to connect database mysql via Lan
By ahmed30 in forum JDBCReplies: 3Last Post: 01-17-2011, 06:36 AM -
Jcombobox with mysql database
By kesariramachandran in forum AWT / SwingReplies: 2Last Post: 05-18-2010, 09:32 PM -
Problems with MySQL Driver
By islan in forum JDBCReplies: 7Last Post: 08-06-2009, 04:47 PM -
How to convert access database to mysql database?
By vrk in forum Advanced JavaReplies: 2Last Post: 02-11-2009, 04:43 AM -
database with mysql using the netbeans 6.0
By kwesiaryee in forum New To JavaReplies: 2Last Post: 05-02-2008, 04:27 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks