尝试在服务器上创建 SQL 服务器数据库时出错

Getting error when try to create SQL Server database on server

我正在尝试在服务器上创建一个 SQL 服务器数据库,但是当我尝试创建时它没有被创建 MySQL 数据库它被成功创建但是当我尝试创建时出现以下错误SQL 服务器数据库请大家帮帮我,这浪费了我 5 天的时间,我已经 运行 这个项目迟到了

有知道的朋友请评论

I am getting following error please see the image

可能的原因:

  1. SQL服务器未安装。
  2. SQL服务器认证模式只对Windows认证模式启用
  3. SQL 服务器使用了不正确的 hostname/instance 名称
  4. Plesk 安装已损坏

决议

  1. 安装SQL服务器如果没有安装:

    "%plesk_bin%\ai.exe" --select-product-id panel --select-release-current --show-components
    
    mssql2008 [up2date] - SQL Server 2008 
    mssql2008-only [up2date] - SQL Server 2008 only
    mssql2012 [install] - SQL Server 2012 
    mssql2012-only [install] - SQL Server 2012 only
    
    "%plesk_bin%\ai.exe" --select-product-id panel --select-release-current --install-component mssql2008-only
    
  2. 启用 "SQL server and Windows Authentication Mode" 并在 Plesk 中重试 SQL 服务器注册:http://technet.microsoft.com/en-us/library/ms188670.aspx

  3. 确保可以使用在 Plesk -> 工具和设置 -> 数据库服务器中指定的相同主机名、用户和密码连接到 SQL 服务器。使用 SQL Server Management Studio 或其他 SQL 服务器数据库管理器

  4. 进行检查
  5. 运行 "%plesk_bin%"\reconfigurator.exe 选择修复 Plesk 安装选项。