jdbc.properties 包含多種資料庫驅動連結的版本。

來源:互聯網
上載者:User

標籤:os   資料   for   ar   amp   資料庫   sql   res   

  1. # Properties file with JDBC-related settings.
  2. ##########
  3. # HSQLDB #
  4. ##########
  5. #jdbc.driverClassName=org.hsqldb.jdbcDriver
  6. #jdbc.url=jdbc:hsqldb:hsql://localhost:9001/bookstore
  7. #jdbc.username=sa
  8. #jdbc.password=
  9. ###########
  10. # MySQL 5 #
  11. ###########
  12. jdbc.driverClassName=com.mysql.jdbc.Driver
  13. jdbc.url=jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=GBK
  14. jdbc.username=root
  15. jdbc.password=root
  16. ##############
  17. # PostgreSQL #
  18. ##############
  19. #jdbc.driverClassName=org.postgresql.Driver
  20. #jdbc.url=jdbc:postgresql://localhost/bookstore
  21. #jdbc.username=
  22. #jdbc.password=
  23. ##########
  24. # Oracle #
  25. ##########
  26. #jdbc.driverClassName=oracle.jdbc.driver.OracleDriver
  27. #jdbc.url=jdbc:oracle:thin:@192.168.1.250:1521:devdb
  28. #jdbc.username=HFOSPSP
  29. #jdbc.password=HFOSPSP
  30. #############################
  31. # MS SQL Server 2000 (JTDS) #
  32. #############################
  33. #jdbc.driverClassName=net.sourceforge.jtds.jdbc.Driver
  34. #jdbc.url=jdbc:jtds:sqlserver://localhost:1433/bookstore
  35. #jdbc.username=
  36. #jdbc.password=
  37. ##################################
  38. # MS SQL Server 2000 (Microsoft) #
  39. ##################################
  40. #jdbc.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
  41. #jdbc.url=jdbc:sqlserver://192.168.1.130:1433;database=ahos;user=sa;password=ahtec";
  42. #jdbc.username=sa
  43. #jdbc.password=ahtec
  44. ########
  45. # ODBC #
  46. ########
  47. #jdbc.driverClassName=sun.jdbc.odbc.JdbcOdbcDriver
  48. #jdbc.url=jdbc:odbc:bookstore
  49. #jdbc.username=
  50. #jdbc.password=

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.