我试图用Wix工具集在PostgreSQL中创建一个数据库,但当我试图创建数据库时,总是会出现错误“error-2147467259:failed to create SQL database:pontow,error detail:unknown error.”当我试图创建一个数据库或出现错误“failed to connect to SQL database”。(-2147467259 pontow)”当我简单地尝试对现有数据库执行a时。我做了一些研究,似乎是访问被拒绝了,但不能让它工作。在
我已经试过了:
我使用的是Windows10x64,Wix工具集v3.11。在
我的产品.wsx文件:
<Binary Id="CreateTable" SourceFile=".\CreateTable.sql"/>
<Property Id="SQLUSERNAME" Secure="yes">postgres</Property>
<Property Id="SQLPASSWORD" Secure="yes">test</Property>
<Property Id="SQLSERVER" Secure="yes">localhost</Property>
<Property Id="SQLSERVERPORT" Secure="yes">5432</Property>
<Property Id="DATABASE_NAME" Secure="yes">pontow</Property>
<util:User Id="SQLUser" Name="[SQLUSERNAME]" Password="[SQLPASSWORD]" />
^{pr2}$
我希望使用Wix工具集或任何建议创建一个PosgreSQL数据库安装程序.exe谢谢。在
WixSqlExtension
仅支持SQL Server,不支持PostgreSQL。在相关问题 更多 >
编程相关推荐