Î÷Î÷Èí¼þÔ°¶àÖØ°²È«¼ì²âÏÂÔØÍøÕ¾¡¢ÖµµÃÐÅÀµµÄÈí¼þÏÂÔØÕ¾£¡
Î÷Î÷Ê×Ò³ µçÄÔÈí¼þ °²×¿Èí¼þ µçÄÔÓÎÏ· °²×¿ÓÎÏ· ÅÅÐаñ רÌâºÏ¼¯

mysql jdbc Çý¶¯(java)

8.0.12 ÀëÏß°æ
  • mysql jdbc Çý¶¯(java)8.0.12 ÀëÏß°æ
  • Èí¼þ´óС:273.1M
  • ¸üÐÂʱ¼ä:2018-10-17 17:43
  • Èí¼þÓïÑÔ:Ó¢ÎÄ
  • Èí¼þ³§ÉÌ:MySQL
  • Èí¼þÀà±ð:¹úÍâÈí¼þ / Ãâ·ÑÈí¼þ / Êý¾Ý¿âÀà
  • Èí¼þµÈ¼¶:5¼¶
  • Ó¦ÓÃƽ̨:WinAll, WinXP
  • ¹Ù·½ÍøÕ¾:https://www.mysql.com/products/connector
  • Ó¦Óñ¸°¸:
¶¥ºÃÆÀ:50%
²È»µÆÀ:50%

±¾ÀྫƷ

Èí¼þ½éÉÜ

MySQL Connector/JÊÇMySQL¹Ù·½JDBCÇý¶¯³ÌÐò¡£½«ÏÂÔصÄÇý¶¯°ü½âѹËõºó£¬½«MySQL-connector-Java-5.1.41-bin.jar¿½±´µ½ÏîÄ¿ÖÐ
Connector/J 5.41°üÀ¨JDBC-4.0¹¦ÄܵÄÖ§³Ö

mysql jdbc Çý¶¯(java)

°üÀ¨£º

Ò×ÓÚ¿ª·¢µÄÌص㣬°üÀ¨Í¨¹ý×Ô¶¯×¢²á·þÎñÌṩÉÌ»úÖÆ£¬±ê×¼»¯µÄÁ¬½ÓÓÐЧÐÔ¼ì²éºÍ·ÖÀàµÄSQLExceptionsµÄ»ù´¡ÉϿɻָ´/ÖØÊÔÄÜÁ¦ºÍÒ»Á÷µÄµ×²ã´íÎó¡£
DriverManager¸ôÀë
½â¿ª°üÀ¨¹©Ó¦ÉÌÀ©Õ¹µ½½Ó¿Ú
ͨ¹ýJAXP½Ó¿ÚÖ§³ÖÓÃÓÚXML´¦ÀíDOM£¬SAXºÍStAX
Ö§³ÖÉèÖÃÿ¸öÁ¬½ÓµÄ¿Í»§¶ËÐÅÏ¢£¨¿ÉÒԲ鿴²éѯµÄÒâ¼ûͨ¹ý¡°SHOW PROCESSLISTµÄ¡±Ò»¸öMySQL·þÎñÆ÷ÉÏ£¬»òͨ¹ýÒ»¸ö¹«¹²½Ó¿Ú£¬¿ÉÀ©Õ¹£¬ÒÔÖ§³Ö×Ô¶¨Òå³Ö¾ÃÐÔµÄÐÅÏ¢£©

JDBC-4.0 NCHAR£¬NVARCHARºÍNCLOBÀàÐ͵ÄÖ§³Ö

ʹÓÃʾÀý£º

1¡¢½«ÆäÖеÄJava°ü£¨mysql-connector-java-5.1.26-bin.jar£©£¬¸´ÖƵ½MySQLĿ¼ÏÂ(½öÊÇΪÁË·½±ã²Å·Åµ½ÕâÀï)£¬ÒÔ±¸¼ÓÔØÇý¶¯³ÌÐòʱʹÓá£


  2¡¢´´½¨Êý¾Ý¿â£ºÊ¹ÓÃphpMyAdmin£¬µÇ¼MySQL£¬´´½¨Êý¾Ý¿âmyuser£¬²¢ÔÚÆäÖвåÈëÒ»¸öÃûΪstaffµÄ±í¸ñ¡£²¢Ìí¼ÓһЩÊý¾Ý£¬²Ù×÷²½ÖèÈçͼ£¬µÇ¼½øÈ¥MySQLÊý¾Ý¿âºó£º

 1£©´´½¨Êý¾Ý¿â£¬Ãû³ÆΪmyuser£¬±àÂëΪutf8_general_ci£¨Ö§³ÖÖÐÎÄ£©£»

2£©Ð½¨±í¸ñ£¬Ãû³ÆΪstaff£¬±í¸ñÓÐ8¸ö×ֶΣ»

3£©8¸ö×ֶεÄÉèÖ㬰üÀ¨Ãû³Æ¡¢ÀàÐÍ¡¢ÖµµÄ³¤¶È¡¢³õʼֵ¡¢±àÂëµÈµÈ(µã»÷²é¿´´óͼ)£»

4£©Ìí¼Ó³É¹¦ºó£¬²é¿´µÄstaff±í¸ñÇé¿ö£º

  5£©Íù±í¸ñÖвåÈëһЩʵÑéËùÐèÊý¾Ý£¬ÐèÒª²åÈëÁ½Ìõ£¬Ò»¸öÊÇÔ±¹¤lucyµÄ£¬»¹ÓÐliliµÄ£º

  3¡¢ÔÚMyEclipsÖд´½¨ÏîÄ¿²¢ÔÚÏîÄ¿ÖÐÌí¼ÓMySQLÇý¶¯³ÌÐò£º´´½¨µÄÏîÄ¿ÀàÐÍ¿ÉÒÔÊÇJavaÏîÄ¿»òÕßÊÇJava WebÏîÄ¿¶¼¿ÉÒÔ¡£ÕâÀï´´½¨µÄÊÇWebÏîÄ¿£¬ÏîÄ¿Ãû³Æ¿ÉÒÔËæ±ãÈ¡£¬ÎÒÃüÃûΪ¡°JavaWebChp07¡±¡£´´½¨³É¹¦ºó½«²½Öè1ÀïÏÂÔصõ½µÄMySQLÇý¶¯³ÌÐò°ü£¨mysql-connector-java-5.1.18-bin.jar£©Ìí¼Óµ½¹¤³ÌµÄBuild pathÖУ¬Ìí¼Ó¹ý³ÌÈçͼËùʾ£º

  4¡¢±àдJDBCÁ¬½ÓMySQLÊý¾Ý¿âµÄʵÀý¾ßÌå´úÂ룬JDBC_Test.java£º

mysql×¢²áÇý¶¯·½·¨£º

1:Class.forName("com.mysql.jdbc.Driver");

2:DriverManager.registerDriver(new Driver());

3:System.setProperty("jdbc:drivers", "com.mysql.jdbc.Driver");

jdbcÁ¬½Óoracle¡¢mysqlµÈÖ÷Á÷Êý¾Ý¿âµÄÇý¶¯ÀàºÍurl£º

oracle 

driverClass£ºoracle.jdbc.driver.OracleDriver

url£ºjdbc:oracle:thin:@127.0.0.1:1521:dbname

-----------------------------------------------------------

mysql  

driverClass£ºcom.mysql.jdbc.Driver

url£ºjdbc:mysql://localhost:3306/mydb

PS£ºÓеÄʱºò£¬mysqlµÄÇý¶¯ÀàÒ²Ò²»á¿´µ½Ê¹ÓÃorg.gjt.mm.mysql.DriverµÄÇé¿ö£¬

org.gjt.mm.mysql.DriverÊÇÔçÆÚµÄÇý¶¯Ãû³Æ£¬ºóÀ´¾Í¸ÄÃûΪcom.mysql.jdbc.Driver£¬

ÏÖÔÚÒ»°ã¶¼ÍƼöʹÓà com.mysql.jdbc.Driver¡£ÔÚ×îа汾µÄmysql jdbcÇý¶¯ÖУ¬ÎªÁ˱£³Ö¶ÔÀÏ°æ±¾µÄ¼æÈÝ£¬ÈÔÈ»±£ÁôÁËorg.gjt.mm.mysql.Driver£¬µ«ÊÇʵ¼ÊÉÏ org.gjt.mm.mysql.DriverÖе÷ÓÃÁËcom.mysql.jdbc.Driver£¬Òò´ËÏÖÔÚÕâÁ½¸öÇý¶¯Ã»ÓÐʲôÇø±ð¡£

-----------------------------------------------------------

DB2 

driverClass£ºcom.ibm.db2.jcc.DB2Driver

url£ºjdbc:db2://127.0.0.1:50000/dbname

-----------------------------------------------------------

syBase 

driverClass£ºcom.sybase.jdbc.SybDriver

url£ºjdbc:sybase:Tds:localhost:5007/dbname

-----------------------------------------------------------

PostgreSQL 

driverClass£ºorg.postgresql.Driver

url£ºjdbc:postgresql://localhost/dbname

-----------------------------------------------------------

Sql Server2000 

driverClass£ºcom.microsoft.jdbc.sqlserver.SQLServerDriver

url£ºjdbc:microsoft:sqlserver://localhost:1433;DatabaseName=dbname

-----------------------------------------------------------

Sql Server2005 

driverClass£ºcom.microsoft.sqlserver.jdbc.SQLServerDriver

url£ºjdbc:sqlserver://localhost:1433; DatabaseName=dbname

Èí¼þ±êÇ©: mysql Êý¾Ý¿â

mysql-connector-javaÊÇmysql¹Ù·½µÄÇý¶¯£¬¹þ£¬½éÉܵķ­Òë¿ÉÄÜÓеãÎÊÌâ¡£

java»·¾³£º
http://www.cr173.com/soft/22134.html


 

×îÐÂÆÀÂ۲鿴ËùÓÐ(11)ÌõÆÀÂÛ >

µÚ 11 Â¥ ÁÉÄþÊ¡°°É½ÊÐǧɽÇø ÍøÓÑ ¿ÍÈË ·¢±íÓÚ: 2015/11/28 11:43:34
Î÷Î÷ÍòËê

Ö§³Ö( 0 ) ¸ÇÂ¥(»Ø¸´)

µÚ 10 Â¥ ¹ã¶«½ÌÓýÍø ÍøÓÑ ¿ÍÈË ·¢±íÓÚ: 2015/6/18 9:47:46
²»´í

Ö§³Ö( 0 ) ¸ÇÂ¥(»Ø¸´)

µÚ 9 Â¥ ¹ãÎ÷¹ðÁÖÌúͨ ÍøÓÑ ¿ÍÈË ·¢±íÓÚ: 2015/4/23 16:57:53
不错

Ö§³Ö( 0 ) ¸ÇÂ¥(»Ø¸´)

µÚ 8 Â¥ CZ88.NETÿ ÍøÓÑ ¿ÍÈË ·¢±íÓÚ: 2015/4/7 16:50:43
不错

Ö§³Ö( 0 ) ¸ÇÂ¥(»Ø¸´)

µÚ 7 Â¥ Õã½­º¼ÖÝÌúͨ ÍøÓÑ ¿ÍÈË ·¢±íÓÚ: 2015/1/30 16:43:25
很好

Ö§³Ö( 0 ) ¸ÇÂ¥(»Ø¸´)

µÚ 6 Â¥ Õã½­º¼ÖÝÌúͨ ÍøÓÑ ¿ÍÈË ·¢±íÓÚ: 2015/1/22 1:57:17
不错

Ö§³Ö( 0 ) ¸ÇÂ¥(»Ø¸´)

µÚ 5 Â¥ ½­ËÕÕò½­µçÐÅ ÍøÓÑ ¿ÍÈË ·¢±íÓÚ: 2015/1/16 10:40:13
不错

Ö§³Ö( 0 ) ¸ÇÂ¥(»Ø¸´)

µÚ 4 Â¥ ÃÀ¹úCZ88.NET ÍøÓÑ ¿ÍÈË ·¢±íÓÚ: 2014/10/27 15:13:26
很实用

Ö§³Ö( 0 ) ¸ÇÂ¥(»Ø¸´)

µÚ 3 Â¥ ɽÎ÷Ì«Ô­½ðÓñÍø°É(ɽÎ÷´óѧÉÌÎñѧԺ) ÍøÓÑ ¿ÍÈË ·¢±íÓÚ: 2014/9/17 20:22:49

Ö§³Ö( 0 ) ¸ÇÂ¥(»Ø¸´)

µÚ 2 Â¥ ½­ËÕÕò½­µçÐÅ ÍøÓÑ ¿ÍÈË ·¢±íÓÚ: 2014/7/21 21:17:10
Î÷Î÷Èí¼þͦºÃµÄ£¬Ð»Ð»

Ö§³Ö( 0 ) ¸ÇÂ¥(»Ø¸´)

·¢±íÆÀÂÛ

êdzÆ:
±íÇé: ¸ßÐË ¿É º¹ ÎÒ²»Òª º¦Ðß ºÃ ÏÂÏÂÏ ËÍ»¨ ʺ Ç×Ç×
TOP
Èí¼þÏÂÔØ