<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    布衣王子

    Email:roose2008@gmail.com QQ:79212131

    求高手翻譯 Connecting to the MySQL RDBMS

    Connections to databases are managed using database drivers, which enable applications written in different programming languages to interact with the database management system. NetBeans IDE 6.0 comes bundled with the MySQL Connector/J driver, which is a pure Java implementation of the JDBC API, and communicates directly with the MySQL server using the MySQL protocol.

    Begin by examining the functionality offered by the Database Explorer located in the IDE's Services window (Ctrl-5). The Database Explorer is represented by the Databases node (database node icon). From this interface you can connect to database servers, view current connections, add database drivers, as well as create, browse or edit database structures.

    Now that you have the MySQL database server installed and configured, you can connect to it from the NetBeans IDE using the Database Explorer. Note that you are connecting to the database server. In the next step, you will create a database instance through this connection. Do the following:

    1. In the Database Explorer, expand the Drivers node, then right-click the MySQL (Connector/J driver) and choose Connect Using. The New Database Connection dialog displays.
    2. In the Database URL field, replace the default <HOST>:<PORT>/<DB> with a forward-slash (/) so that the entry now reads: jdbc:mysql:///.
    3. For User Name and Password, enter root and nbuser, respectively. Optionally, select the Remember password option.
    4. Click OK, then click OK again to accept the default schema and exit the dialog. A new Connection node displays in the Database Explorer under the Databases node:

      new connection node displayed in database explorer

    You are now connected to the MySQL RDBMS in the IDE. Note that the new connection node icon appears whole (connection node icon) when you are connected to a database. Likewise, it appears broken (broken connection node icon) when there is no connection.

    At later stages, when working with databases through the Database Explorer, you may need to manually connect to a database. You can do so by right-clicking the broken database connection node and choosing Connect.

    posted on 2008-09-25 09:28 草包書生 閱讀(937) 評論(6)  編輯  收藏

    評論

    # re: 求高手翻譯 Connecting to the MySQL RDBMS 2008-09-25 09:39 日月雨林

    這個其實說的很簡單,就是教你如何連接上mysql 而已.
    現在的netbeans 要連接上 mysql 太簡單了.
    看看這篇博客
    http://developers.sun.com.cn/blog/qixun/entry/%E4%BD%BF%E7%94%A8netbeans%E6%93%8D%E4%BD%9Cmysql%E6%95%B0%E6%8D%AE%E5%BA%93  回復  更多評論   

    # re: 求高手翻譯 Connecting to the MySQL RDBMS[未登錄] 2008-09-25 09:56 sclsch

    連接mysql的字符串類例這樣:
    datasource.url=jdbc:mysql://localhost:3306/ssh?useUnicode=true&characterEncoding=UTF-8
    datasource.username=root
    datasource.password=rootcharacterEncoding=UTF-8
    改成你自己的。  回復  更多評論   

    # re: 求高手翻譯 Connecting to the MySQL RDBMS 2008-09-25 09:59 sclsch

    連接mysql的字符串類例這樣:

    datasource.url=jdbc:mysql://localhost:3306/ssh?useUnicode=true&characterEncoding=UTF-8

    datasource.username=root
    datasource.password=root

    改成你自己的  回復  更多評論   

    # re: 求高手翻譯 Connecting to the MySQL RDBMS[未登錄] 2008-09-26 11:15 草包書生

    @日月雨林
    問題已解決,謝了。  回復  更多評論   

    # re: 求高手翻譯 Connecting to the MySQL RDBMS[未登錄] 2008-09-26 11:15 草包書生

    @sclsch
    問題已解決謝謝  回復  更多評論   

    # re: 求高手翻譯 Connecting to the MySQL RDBMS[未登錄] 2010-09-15 15:50 小D

    你后來怎么解決的 0.0   回復  更多評論   


    只有注冊用戶登錄后才能發表評論。


    網站導航:
     

    導航

    常用鏈接

    相冊

    java的相關連接

    最新評論

    主站蜘蛛池模板: 久章草在线精品视频免费观看 | ass亚洲**毛茸茸pics| 久久免费精品视频| 国产亚洲一区二区在线观看| 一区二区免费国产在线观看 | 免费亚洲视频在线观看| 国产亚洲欧美在线观看| 四虎影库久免费视频| 国产成人高清亚洲一区久久| 免费jjzz在线播放国产| 成全视频在线观看免费高清动漫视频下载 | 四虎影视永久免费观看网址| 亚洲国产aⅴ成人精品无吗| 好大好深好猛好爽视频免费| 久久亚洲欧美国产精品| 国产精品国产自线拍免费软件| 爱情岛论坛亚洲品质自拍视频网站| 亚洲av无码专区在线观看素人| 黄色三级三级免费看| 亚洲香蕉网久久综合影视| 久久不见久久见免费视频7 | 精品国产日韩亚洲一区91| 久久精品国产亚洲5555| 久久国产免费一区二区三区| 亚洲av专区无码观看精品天堂| 日韩免费高清视频网站| 国产免费一区二区三区免费视频 | 亚洲成AV人片在线观看无| 最近2019中文字幕免费直播| 亚洲精品午夜国产va久久| 亚洲Av无码国产情品久久| 久久狠狠躁免费观看2020| 精品国产日韩久久亚洲| 国产精品亚洲精品日韩已方| 最好看最新的中文字幕免费| 美女被吸屁股免费网站| 亚洲经典在线观看| 精品亚洲视频在线观看| 毛片高清视频在线看免费观看| 一级毛片aaaaaa视频免费看| 亚洲国产成人精品无码区在线网站|