久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<i id='tNHOd'><tr id='tNHOd'><dt id='tNHOd'><q id='tNHOd'><span id='tNHOd'><b id='tNHOd'><form id='tNHOd'><ins id='tNHOd'></ins><ul id='tNHOd'></ul><sub id='tNHOd'></sub></form><legend id='tNHOd'></legend><bdo id='tNHOd'><pre id='tNHOd'><center id='tNHOd'></center></pre></bdo></b><th id='tNHOd'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='tNHOd'><tfoot id='tNHOd'></tfoot><dl id='tNHOd'><fieldset id='tNHOd'></fieldset></dl></div>
  • <legend id='tNHOd'><style id='tNHOd'><dir id='tNHOd'><q id='tNHOd'></q></dir></style></legend>
    1. <small id='tNHOd'></small><noframes id='tNHOd'>

        <bdo id='tNHOd'></bdo><ul id='tNHOd'></ul>
    2. <tfoot id='tNHOd'></tfoot>
      1. 如何在 *nix 上將 Zend Framework 2 與 MS SQL Server 一起

        How to use Zend Framework 2 with MS SQL Server on *nix?(如何在 *nix 上將 Zend Framework 2 與 MS SQL Server 一起使用?)
          <tbody id='HDfeq'></tbody>
        <tfoot id='HDfeq'></tfoot>
      2. <small id='HDfeq'></small><noframes id='HDfeq'>

                • <bdo id='HDfeq'></bdo><ul id='HDfeq'></ul>
                  <legend id='HDfeq'><style id='HDfeq'><dir id='HDfeq'><q id='HDfeq'></q></dir></style></legend>
                  <i id='HDfeq'><tr id='HDfeq'><dt id='HDfeq'><q id='HDfeq'><span id='HDfeq'><b id='HDfeq'><form id='HDfeq'><ins id='HDfeq'></ins><ul id='HDfeq'></ul><sub id='HDfeq'></sub></form><legend id='HDfeq'></legend><bdo id='HDfeq'><pre id='HDfeq'><center id='HDfeq'></center></pre></bdo></b><th id='HDfeq'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='HDfeq'><tfoot id='HDfeq'></tfoot><dl id='HDfeq'><fieldset id='HDfeq'></fieldset></dl></div>

                  本文介紹了如何在 *nix 上將 Zend Framework 2 與 MS SQL Server 一起使用?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  限時送ChatGPT賬號..

                  在非 Windows 操作系統上將 ZF2 與 MS SQL Server 結合使用的規范方法是什么(如果存在)?

                  What, if it exists, is the canonical way to use ZF2 with MS SQL Server on a non-Windows OS?

                  根據我從 文檔中了解到的內容,官方只支持Sqlsrv驅動,僅適用于Windows平臺.

                  From what I can tell from the documentation, only the Sqlsrv driver is officially supported, which only works on the Windows platform.

                  在 ZF1 中,我們使用了 Pdo_Mssql 適配器并將 pdoType 指定為 dblib.我找不到在 ZF2 中做類似事情的任何參考.

                  In ZF1, we used the Pdo_Mssql adapter and specified the pdoType as dblib. I can't find any references to doing anything similar in ZF2.

                  顯然 前一段時間有一個 Pdo\Mssql 驅動程序,它在一個主要的 重構,但我沒有看到當前記錄的使用 Pdo_Dblib 的方法.

                  Apparently there was a Pdo\Mssql driver some time ago which was removed during a major refactoring, but I don't see a currently documented way of using Pdo_Dblib.

                  根據上面的適配器文檔,您可以將適配器配置中的驅動程序設置為 Pdo=OtherPdoDriver,但是沒有關于這種用法的文檔示例.這是否意味著您可以使用 Pdo=Pdo_DblibPdo=dblib 并且它會自動運行?

                  According to the adapter documentation above, you can set the driver in the adapter config to Pdo=OtherPdoDriver, but there's no documented examples of this usage. Does that mean you can use Pdo=Pdo_Dblib or Pdo=dblib and it will work automagically?

                  我發現傳遞了對 PDO ODBC 驅動程序的引用,這將是一個可用的替代方法,但找不到任何文檔或代碼引用.

                  I've found passing references to a PDO ODBC driver, which would be a usable alternative, but can't find any documentation or code references.

                  推薦答案

                  安裝 php5-sybase.確保安裝了 freetds.您應該在 /etc/freetds 下有一個名為 freetds.conf 的 conf 文件.

                  Install the php5-sybase. Make sure that freetds is installed. You should have a conf file under /etc/freetds called freetds.conf.

                  在你的 freetds.conf 文件中,你應該像這樣設置你的 mssql 連接:

                  In your freetds.conf file you should setup your mssql connection like this:

                  [MyMsSqlServer]
                  host = symachine.domain.com
                  port = 5000
                  tds version = 5.0
                  

                  然后,(此處以 ZF2 專輯教程為例)您可以像這樣設置適配器:

                  Then, (using the ZF2 Albums Tutorial as an example here) you set up the adapter like this:

                  return array(
                      'db' => array(
                          'driver'         => 'Pdo',
                          'dsn'            => 'dblib:host=MyMsSqlServer;dbname=zf2tutorial',
                          'charset'        =>  'UTF-8',
                          'username'       => 'username',
                          'password'       => 'password',
                          'pdotype'       => 'dblib',
                      ),
                      'service_manager' => array(
                          'factories' => array(
                              'Zend\Db\Adapter\Adapter' => 'Zend\Db\Adapter\AdapterServiceFactory',
                          ),
                      ),
                  );
                  

                  看看這是否能幫助您找到任何地方并告訴我.我花了一段時間讓它工作,我更樂意幫助其他有問題的人!!!

                  See if this gets you anywhere and let me know. I had a bitch of a time getting this to work, and I am more then happy to help anyone else that is having issues with this!!!

                  這篇關于如何在 *nix 上將 Zend Framework 2 與 MS SQL Server 一起使用?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Can I figure out a list of databases and the space used by SQL Server instances without writing SQL queries?(我可以在不編寫 SQL 查詢的情況下找出數據庫列表和 SQL Server 實例使用的空間嗎?) - IT屋-程序員軟件開發
                  How to create a login to a SQL Server instance?(如何創建對 SQL Server 實例的登錄?)
                  How to know the version and edition of SQL Server through registry search(如何通過注冊表搜索知道SQL Server的版本和版本)
                  Why do I get a quot;data type conversion errorquot; with ExecuteNonQuery()?(為什么會出現“數據類型轉換錯誤?使用 ExecuteNonQuery()?)
                  How to show an image from a DataGridView to a PictureBox?(如何將 DataGridView 中的圖像顯示到 PictureBox?)
                  WinForms application design - moving documents from SQL Server to file storage(WinForms 應用程序設計——將文檔從 SQL Server 移動到文件存儲)
                  • <legend id='uYB0W'><style id='uYB0W'><dir id='uYB0W'><q id='uYB0W'></q></dir></style></legend>
                        <bdo id='uYB0W'></bdo><ul id='uYB0W'></ul>

                            <tbody id='uYB0W'></tbody>
                            <tfoot id='uYB0W'></tfoot>

                            <small id='uYB0W'></small><noframes id='uYB0W'>

                            <i id='uYB0W'><tr id='uYB0W'><dt id='uYB0W'><q id='uYB0W'><span id='uYB0W'><b id='uYB0W'><form id='uYB0W'><ins id='uYB0W'></ins><ul id='uYB0W'></ul><sub id='uYB0W'></sub></form><legend id='uYB0W'></legend><bdo id='uYB0W'><pre id='uYB0W'><center id='uYB0W'></center></pre></bdo></b><th id='uYB0W'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='uYB0W'><tfoot id='uYB0W'></tfoot><dl id='uYB0W'><fieldset id='uYB0W'></fieldset></dl></div>

                            主站蜘蛛池模板: 天天夜干| 日韩欧美网 | 一级片在线免费播放 | 草草视频在线免费观看 | 精品一区二区三区免费视频 | 日韩欧美精品在线 | 一级大黄 | 免费在线视频精品 | 国产乱码精品一区二区三区中文 | 久久高清| 成人免费淫片aa视频免费 | 黄色片免费在线观看 | 日韩欧美三级 | 久久精品av麻豆的观看方式 | 欧美精品在线观看 | 亚洲一区在线观看视频 | 久久久国产一区二区三区四区小说 | 一区二区三区免费网站 | 精品久久香蕉国产线看观看亚洲 | 天天操天天操 | av黄色免费在线观看 | 亚洲精品国产成人 | 亚洲国产精品久久久久婷婷老年 | 欧美黑人一区 | 国产精品不卡一区 | 亚洲av毛片成人精品 | 精品国产网 | 欧美一级特黄aaa大片在线观看 | 久久免费精彩视频 | 久久精品国产久精国产 | 国产成人免费视频网站视频社区 | 欧美成人一区二免费视频软件 | 久久久久久亚洲精品 | 国产欧美一区二区在线观看 | av永久 | 日韩av免费在线观看 | 亚洲美女视频 | 日韩欧美在线不卡 | 国产福利在线 | 久久伊人影院 | 日本一区不卡 |