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

    1. <small id='tGQ1u'></small><noframes id='tGQ1u'>

      <tfoot id='tGQ1u'></tfoot>

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

        PHP PDO 連接到具有集成安全性的 SQL Server?

        PHP PDO Connection to SQL Server with integrated security?(PHP PDO 連接到具有集成安全性的 SQL Server?)
        <tfoot id='XkQAC'></tfoot>
            • <small id='XkQAC'></small><noframes id='XkQAC'>

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

              <legend id='XkQAC'><style id='XkQAC'><dir id='XkQAC'><q id='XkQAC'></q></dir></style></legend>
                <bdo id='XkQAC'></bdo><ul id='XkQAC'></ul>

                  本文介紹了PHP PDO 連接到具有集成安全性的 SQL Server?的處理方法,對(duì)大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  我可以使用 PDO 和使用 mssql 驅(qū)動(dòng)程序的集成安全性連接到 SQL Server 2008 嗎?目前正在做這樣的事情來正常連接:

                  Can I connect to SQL Server 2008 using PDO and integrated security using the mssql driver? Currently doing something like this to connect normally:

                  $db = new PDO("mssql:host=host;dbname=db", "user", "pass"); 
                  

                  使用 SQL Server 身份驗(yàn)證可以很好地工作,但是必須為大量數(shù)據(jù)庫(kù)創(chuàng)建 SQL Server 登錄名很痛苦,因此如果可能,最好使用集成安全性.我在 Windows 上將 PHP 作為 CLI 運(yùn)行.

                  This works fine using SQL Server authentication, but it is a pain having to create SQL server logins for loads of databases, so it would be nice to use integrated security if possible. I am running PHP as CLI on Windows.

                  推薦答案

                  該站點(diǎn)幫助:用于 PHP 的 SQL Server 驅(qū)動(dòng)程序:了解 Windows 身份驗(yàn)證

                  解決我的問題的要點(diǎn)是:

                  The gist of it that fixed my issue was:

                  • 啟用 Windows 身份驗(yàn)證
                  • 禁用匿名身份驗(yàn)證
                  • 從 PDO 連接中刪除用戶名和密碼
                  $conn = new PDO( "sqlsrv:server=$serverName ; Database=$dbName" );
                  

                  我的測(cè)試是使用 2010 年 6 月發(fā)布的最新驅(qū)動(dòng)程序(用于 PHP 2.0 CTP2 的 SQL Server 驅(qū)動(dòng)程序).

                  My testing was with the newest driver released June 2010 (SQL Server Driver for PHP 2.0 CTP2).

                  這篇關(guān)于PHP PDO 連接到具有集成安全性的 SQL Server?的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

                  相關(guān)文檔推薦

                  MySQLi prepared statement amp; foreach loop(MySQLi準(zhǔn)備好的語(yǔ)句amp;foreach 循環(huán))
                  Is mysqli_insert_id() gets record from whole server or from same user?(mysqli_insert_id() 是從整個(gè)服務(wù)器還是從同一用戶獲取記錄?)
                  PHP MySQLi doesn#39;t recognize login info(PHP MySQLi 無法識(shí)別登錄信息)
                  mysqli_select_db() expects exactly 2 parameters(mysqli_select_db() 需要 2 個(gè)參數(shù))
                  Php mysql pdo query: fill up variable with query result(Php mysql pdo 查詢:用查詢結(jié)果填充變量)
                  MySQLI 28000/1045 Access denied for user #39;root#39;@#39;localhost#39;(MySQLI 28000/1045 用戶“root@“l(fā)ocalhost的訪問被拒絕)

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

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

                              <tbody id='ZoXot'></tbody>
                            主站蜘蛛池模板: 最新中文字幕在线 | 中文字幕一区二区三区不卡 | 国外成人在线视频网站 | 国产综合视频 | 做a视频在线观看 | 久久久精品网 | 亚洲高清在线视频 | 亚洲精品久久嫩草网站秘色 | 99视频在线免费观看 | 欧美一区久久 | 国产性网 | 精品国产一区二区在线 | 成人三级av | 97色在线视频| 亚洲精品在线国产 | 亚洲精品一区二区三区丝袜 | 中文字幕日韩欧美 | 国产一区二区精品在线观看 | 欧美日韩在线观看视频网站 | 国产欧美一区二区三区免费 | 国产99视频精品免费视频7 | 国产福利网站 | www.久草.com | 黄色三级免费网站 | 丝袜毛片| 亚洲成人精品免费 | 在线不卡| 毛片99| 日韩一区精品 | www.日韩 | 久久的色 | 一区免费 | 在线观看成年人视频 | 亚洲91av| 99精品国产一区二区青青牛奶 | 久久久久国产视频 | 自拍视频国产 | 美女福利视频一区 | 91一区 | 午夜精品久久久久久久久久久久久 | 一区二区三区不卡视频 |