SCVMM和SQL分别建在不同服务器上报错:Error ID 319 during database creation on remote SQL Server

本文涉及的产品
RDS SQL Server Serverless,2-4RCU 50GB 3个月
推荐场景:
云数据库 RDS SQL Server,基础系列 2核4GB
简介: 问题发生了,测试过权限,帐号,服务,工具问题,均不是。 在微软网站找到解决办法。 就是MASTER.SQL的脚本在数据库服务器上单独运行。 然后,安装SCVMM时,不新建数据库,直接指现建好的库。

问题发生了,测试过权限,帐号,服务,工具问题,均不是。

在微软网站找到解决办法。

就是MASTER.SQL的脚本在数据库服务器上单独运行。

然后,安装SCVMM时,不新建数据库,直接指现建好的库。

搞定。

~~~~~~~~~~~

http://social.technet.microsoft.com/Forums/systemcenter/en-US/baadd711-034c-4e70-ac18-eabd3038eb25/error-id-319-during-database-creation-on-remote-sql-server?forum=virtualmachingmgrsetup

I am tyring to install SCVMM 2008 on a guest VM running 2008 STD SP1. I chose to install the database on a remote SQL server which I have sysadmin rights to. It creates the database on the remote SQL server adn then the VMM 2008 wizard ends with a failure with the following.....

The virtual machine manager database was not created. Check to make sure the mdf and ldf do not exist or choose a new database name and run setup again. Also verify that
disk quota management is not enabled on the drive where the database is being created.

Thanks for any insight..
~~~~~~~~~~~~~

For anyone that is interested, the error was due to the sql commands that were issued to sqlcmd.exe from the installation on the remote sql server were not be completed successfully.

It seemed as though the database was being created on the remote sql server but it was not 100% complete. In trying to determine if the error was on the sql server or the scvmm server, I ran the master.sql on the remote sql server and then pointed the scvmm install to an already existing database.

Setup then completed successfully without error.
~~~~~~~~~~~~~~~

附上MASTER.SQL脚本:

 

相关实践学习
使用SQL语句管理索引
本次实验主要介绍如何在RDS-SQLServer数据库中,使用SQL语句管理索引。
SQL Server on Linux入门教程
SQL Server数据库一直只提供Windows下的版本。2016年微软宣布推出可运行在Linux系统下的SQL Server数据库,该版本目前还是早期预览版本。本课程主要介绍SQLServer On Linux的基本知识。 相关的阿里云产品:云数据库RDS SQL Server版 RDS SQL Server不仅拥有高可用架构和任意时间点的数据恢复功能,强力支撑各种企业应用,同时也包含了微软的License费用,减少额外支出。 了解产品详情: https://www.aliyun.com/product/rds/sqlserver
目录
相关文章
|
24天前
|
SQL 存储 关系型数据库
MySQL/SqlServer跨服务器增删改查(CRUD)的一种方法
通过上述方法,MySQL和SQL Server均能够实现跨服务器的增删改查操作。MySQL通过联邦存储引擎提供了直接的跨服务器表访问,而SQL Server通过链接服务器和分布式查询实现了灵活的跨服务器数据操作。这些技术为分布式数据库管理提供了强大的支持,能够满足复杂的数据操作需求。
75 12
|
2月前
|
SQL 存储 关系型数据库
SQL `CREATE DATABASE` 语法
【11月更文挑战第10天】
78 3
|
4月前
|
关系型数据库 MySQL Java
flywa报错java.sql.SQLSyntaxErrorException: Unknown database ‘flyway‘
flywa报错java.sql.SQLSyntaxErrorException: Unknown database ‘flyway‘
46 1
|
4月前
|
SQL 安全 Oracle
SQL Server 链接服务器(Linked Servers)
【9月更文挑战第12天】SQL Server 的链接服务器功能强大,可让你在一个实例中访问其他数据源,包括其他 SQL Server 实例、Oracle 数据库等。它支持数据集成、分布式查询和数据同步,无需复制数据。创建链接服务器需在 SQL Server Management Studio 中进行,并配置名称、类型及安全性。使用时需注意权限、性能和安全性问题,确保系统稳定和数据安全。
196 0
|
6月前
|
SQL 关系型数据库 数据库
|
6月前
|
SQL 存储 关系型数据库
|
6月前
|
SQL 数据库
SQL CREATE DATABASE 语句
【7月更文挑战第18天】SQL CREATE DATABASE 语句。
154 1
|
7月前
|
SQL 数据库
SQL CREATE DATABASE 语句
SQL CREATE DATABASE 语句
73 4
|
7月前
|
SQL Cloud Native 关系型数据库
云原生数据仓库AnalyticDB操作报错合集之执行sql的进程报错:"unknown connection id",是什么导致的
阿里云AnalyticDB提供了全面的数据导入、查询分析、数据管理、运维监控等功能,并通过扩展功能支持与AI平台集成、跨地域复制与联邦查询等高级应用场景,为企业构建实时、高效、可扩展的数据仓库解决方案。以下是对AnalyticDB产品使用合集的概述,包括数据导入、查询分析、数据管理、运维监控、扩展功能等方面。
828 3
### Cause: java.sql.SQLException: Field ‘id‘ doesn‘t have a default value; Field ‘id‘ doesn‘t have
### Cause: java.sql.SQLException: Field ‘id‘ doesn‘t have a default value; Field ‘id‘ doesn‘t have