有没有学习如何使用Java在MySQL中存储数据的好方法? [英] Any good way to learn how to use Java to store data in MySQL?
本文介绍了有没有学习如何使用Java在MySQL中存储数据的好方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有什么好资源吗?我在互联网上看到很多教程,但它适用于Linux。我想要Windows。叹息。
解决方案
我建议使用原始MySQL文档和教程: http ://dev.mysql.com/usingmysql/java/ [ ^ ]。
即使没有连接MySQL,学习JDBC也很好,所以请看:
http://www.oracle.com/technetwork/java/javase/jdbc/index.html [ ^ ],
http://docs.oracle.com/javase/tutorial/jdbc/basics / [ ^ ],
http://docs.oracle.com/j avase / tutorial / jdbc / overview / [ ^ ],
http://docs.oracle。 com / javase / tutorial / jdbc / basics / gettingstarted.html [ ^ ]。
如果您认为'还不够(?),请尝试其他方法: http://bit.ly/10Cwlgr [ ^ ]。
祝你好运,
-SA
1。为Windows安装MySQL
。从 下载[ ^ ]
2.从 Connector / J http://dev.mysql.com/downloads/connector/j/> [ ^ ]
3.按照以下步骤从Java代码 MySQL http://forums.mysql.com/read.php?39,60044,63002> [ ^ ]
4.将数据存储到数据库表中 [ ^ ]
Any good resources? I see lots of tutorial on the internet but it''s for Linux. I want Windows. Sigh.
解决方案
I would suggest original MySQL documentation and tutorial: http://dev.mysql.com/usingmysql/java/[^].
It''s also good to learn JDBC even without connection to MySQL, so please see:
http://www.oracle.com/technetwork/java/javase/jdbc/index.html[^],
http://docs.oracle.com/javase/tutorial/jdbc/basics/[^],
http://docs.oracle.com/javase/tutorial/jdbc/overview/[^],
http://docs.oracle.com/javase/tutorial/jdbc/basics/gettingstarted.html[^].
If you think that''s not enough (?), try something else: http://bit.ly/10Cwlgr[^].
Good luck,
—SA
1. InstallMySQL
for windows. Download it from [^]
2. DownloadConnector/J
from [^]
3. Follow these steps to connect withMySQL
from Java code [^]
4. Store data into your database table [^]
这篇关于有没有学习如何使用Java在MySQL中存储数据的好方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文