<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 草包書生 閱讀(940) 評(píng)論(6)  編輯  收藏

    評(píng)論

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

    這個(gè)其實(shí)說的很簡(jiǎn)單,就是教你如何連接上mysql 而已.
    現(xiàn)在的netbeans 要連接上 mysql 太簡(jiǎn)單了.
    看看這篇博客
    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  回復(fù)  更多評(píng)論   

    # 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
    改成你自己的。  回復(fù)  更多評(píng)論   

    # 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

    改成你自己的  回復(fù)  更多評(píng)論   

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

    @日月雨林
    問題已解決,謝了。  回復(fù)  更多評(píng)論   

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

    @sclsch
    問題已解決謝謝  回復(fù)  更多評(píng)論   

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

    你后來怎么解決的 0.0   回復(fù)  更多評(píng)論   


    只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


    網(wǎng)站導(dǎo)航:
     

    導(dǎo)航

    常用鏈接

    相冊(cè)

    java的相關(guān)連接

    最新評(píng)論

    主站蜘蛛池模板: 嘿嘿嘿视频免费网站在线观看| 成人免费一区二区无码视频| 久久久久久久99精品免费| 免费观看四虎精品国产永久| 亚洲大香人伊一本线| 最好免费观看高清在线| 亚洲午夜激情视频| 免费看一级一级人妻片| 中文字幕无码不卡免费视频| 亚洲福利电影在线观看| 一区二区三区四区免费视频 | 亚洲大码熟女在线观看| 成人性生交大片免费看无遮挡| 久久亚洲精精品中文字幕| 高清一区二区三区免费视频| 亚洲AV无码国产精品色午友在线| aa级毛片毛片免费观看久| 亚洲精品无码精品mV在线观看| 国产亚洲精品免费视频播放| 亚洲精品乱码久久久久久蜜桃不卡 | 嫩草影院在线免费观看| 亚洲依依成人精品| 免免费国产AAAAA片| 国内精品久久久久影院亚洲| 一区二区三区免费高清视频| 亚洲高清国产拍精品青青草原| 国产色在线|亚洲| 毛片视频免费观看| 亚洲国产中文在线视频| 中文毛片无遮挡高潮免费| 亚洲免费福利在线视频| 国产亚洲成人久久| 中文字幕无线码免费人妻| 亚洲熟妇av一区二区三区漫画| 一个人看的在线免费视频| 亚洲色婷婷综合久久| 久久免费线看线看| 亚洲精品无码mⅴ在线观看| 免费大学生国产在线观看p| 一个人看的www免费在线视频| 日韩免费福利视频|