<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                作為一個從php學習過來的人,還是覺得MySQL更熟悉,那么這里我們就用node來連接MySQL數據庫 在使用MySQL數據庫之前,理應的我們需要打開MySQL數據庫服務,剩下的就交給node了。 首先,切換到項目根目錄,npm來安裝一下 ~~~ npm install mysql ~~~ 使用案例: ~~~ var mysql = require('mysql'); var connection = mysql.createConnection({ host : 'localhost', port : '3306', user : 'root', password : 'root', database : 'blog' }); connection.connect(); connection.query(sql, function (error, results) { console.log('###################') console.log(error) console.log(results) }); ~~~ 如果電腦安裝了php集成開發環境可以打開phpMyAdmin來看數據,也可以自己下載一個MySQL可視化工具來查看。 一些增刪改查的方法:http://www.runoob.com/nodejs/nodejs-mysql.html [簡書](http://www.jianshu.com/)上的關于MySQL的介紹:http://www.jianshu.com/p/184e092e109f
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看