php - Linux Ubuntu Xampp MsSql 设置
问题描述
有人可以帮我如何在 ubuntu 平台上的 xampp 中为 mssql 设置连接吗?
所以我可以使用:
$serverName = "serverName\sqlexpress"; //serverName\instanceName
$connectionInfo = array( "Database"=>"dbName", "UID"=>"userName", "PWD"=>"password");
$conn = sqlsrv_connect( $serverName, $connectionInfo);
解决方案
推荐阅读
- powershell - 为什么 PowerShell 中的选项卡似乎占据了终端的宽度?
- powershell - 我想从 PowerShell 中的 CSV 文件中仅选择唯一项目
- php - 显示数组中没有的内容
- python - 如何在Python中更改列表中每个字符串的第n个字符
- c++ - c ++ STL unordered_map错误,使用方法“find”时参数类型无效
- sql-server - SQL Server 更新 - 分组依据 - MAX
- android - 我的 Android Apk 的服务器 URL 是什么?
- r - 如何在 RStudio 中查看、打开和保存 .rdb 文件
- excel - 为什么在使用 opensolver 时会发生“错误 424”?
- passwords - 指示输入字符串是否为有效密码的 Java 程序