Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Database-SqlServer
New issue 516 by
pierc...@gmail.com: Flyway appears to hang during
migration on sqlserver 2008
http://code.google.com/p/flyway/issues/detail?id=516
I'm attempting to run an initial migration on sqlserver 2008 using command
line tools. Flyway appears to hang indefinitely during execution.
---------->
> flyway -configFile=conf\sqlserver.properties migrate
Flyway (Command-lin Tool) v.2.2.1
Creating metadata table: [dbo].[schema_version]
Current version of schema [dbo]: << Empty Schema >>
Migrating schema [dbo] to version 1.0
<----------
If I run with -X, I see the last line of debug output which is consistent
with my last line of DDL in my SQL.
---------->
... other DDL ...
DEBUG: Executing SQL: INSERT INTO AUTO_PK_SUPPORT (TABLE_NAME, NEXT_ID)
VALUES ('user_role', 200 )
DEBUG: Executing SQL: if exists ( SELECT * FROM sysobjects WHERE name
= 'auto_pk_for_table') BEGIN DROP PROCEDURE auto_pk_for_table END
<----------
That is the last line of output and the command never returns. I've left
the command to run for over ten minutes without success. Comparing this to
running flyway successfully in my development environment against postgres
(same DDL), it runs successfully nearly instantaneously.
The same SQL runs successfully against the database when executed directly
in Microsoft SQL Server Management Studio (indicating the SQL itself is
valid).
OS: Windows Server 2008.
JDBC: Microsoft JDBC driver 4.
Any ideas would be greatly appreciated.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings