You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- sh -c "if [ '$DB' = 'PostgreSQL' ]; then psql -c 'CREATE DATABASE nhibernate;' -U postgres; fi"
23
-
- sh -c "if [ '$DB' = 'MySQL' ]; then mysql -e 'CREATE DATABASE IF NOT EXISTS nhibernate;'; fi"
24
-
- sh -c "if [ '$DB' = 'SqlServer2008' ]; then docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=P@ssw0rd' -e 'MSSQL_PID=Express' -p 1433:1433 -d --name sqlexpress microsoft/mssql-server-linux:latest; fi"
22
+
- sh -c "if [ '$DB' = 'PostgreSQL' ]; then export CONNECTION_STRING='Host=localhost;Port=5432;Username=postgres;Database=nhibernate;Enlist=true;'; psql -c 'CREATE DATABASE nhibernate;' -U postgres; fi"
23
+
- sh -c "if [ '$DB' = 'MySQL' ]; then export CONNECTION_STRING='Server=127.0.0.1;Uid=root;Database=nhibernate;Old Guids=True;'; mysql -e 'CREATE DATABASE IF NOT EXISTS nhibernate;'; fi"
24
+
- sh -c "if [ '$DB' = 'SqlServer2008' ]; then export CONNECTION_STRING='Server=localhost;initial catalog=nhibernate;User Id=sa;Password=P@ssw0rd;'; docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=P@ssw0rd' -e 'MSSQL_PID=Express' -p 1433:1433 -d --name sqlexpress microsoft/mssql-server-linux:latest; fi"
0 commit comments