I have postgresql localhost database installed in to my machine and try to create table using round house tool, I'm getting the below error
RoundhousE encountered an error. System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
command I have tried to execute:
B@echo off
::"C:\Program Files (x86)\Red Gate\SQL Compare 8\sqlcompare.exe" /database1:"TestRoundhousE" /scripts2:"C:\code\RoundhousE\db\TestRoundhouse" /include:table /exclude:table:\[Version\]^|\[ScriptsRun\]^|\[ScriptsRunErrors\] /options:Default,IgnoreConstraintNames,IgnorePermissions /ignoreparsererrors /f /scriptfile:"C:\Users\robz\Desktop\Diff.sql"
SET DIR=%~d0%~p0%
SET DIR=C:\code\roundhouse\code_drop\sample\deployment\
SET database.name="TestRoundhousE"
SET sql.files.directory="D:\Users\username\Desktop\Round\roundhouse\db\PostgreSQL\TestRoundhousE"
SET server.database="localhost"
SET repository.path="https://github.com/chucknorris/roundhouse.git"
SET version.file="_BuildInfo.xml"
SET version.xpath="//buildInfo/version"
SET environment=LOCAL
"D:\Users\username\.dotnet\tools\rh.exe" rh.redgate.diff /d=%database.name% /f=%sql.files.directory% /s=%server.database% /vf=%version.file% /vx=%version.xpath% /r=%repository.path% /env=%environment% /simple
pause
I have postgresql localhost database installed in to my machine and try to create table using round house tool, I'm getting the below error
RoundhousE encountered an error. System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) command I have tried to execute:
"D:\Users\myusername\.dotnet\tools\rh.exe" rh.redgate.diff /d="TestRoundhousE" /f="D:\Users\myusername\Desktop\Round\roundhouse\db\PostgreSQL" /s="PostgreSQL 14" /vf="_BuildInfo.xml" /vx="//buildInfo/version" /r="https://github.com/chucknorris/roundhouse.git" /env=LOCAL /simple
rh.redgate.diff.bat file text
Do I need to use any username and password command here?. can you please suggest ?. Note: I'm trying to use same sample scripts to create database - https://github.com/chucknorris/roundhouse/tree/master/db/PostgreSQL/TestRoundhousE
Error