-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup_database.bat
More file actions
42 lines (35 loc) · 993 Bytes
/
Copy pathsetup_database.bat
File metadata and controls
42 lines (35 loc) · 993 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
@echo off
REM DataBridge SQL Server Setup Helper
REM This script runs the setup_sqlserver.py script with default settings
echo DataBridge SQL Server Setup
echo ===========================
REM Check if Python is installed
python --version > nul 2>&1
if %ERRORLEVEL% NEQ 0 (
echo Python is not installed or not in PATH
echo Please install Python 3.6 or higher
pause
exit /b 1
)
REM Check if Docker is installed
docker --version > nul 2>&1
if %ERRORLEVEL% NEQ 0 (
echo Docker is not installed or not in PATH
echo Please install Docker Desktop and make sure it's running
pause
exit /b 1
)
echo Starting SQL Server setup...
python setup_sqlserver.py %*
if %ERRORLEVEL% NEQ 0 (
echo Setup failed
pause
exit /b 1
)
echo Setup completed successfully!
echo You can now connect to the database using:
echo Server: localhost,1433
echo Username: sa
echo Password: DataBridge2025! (unless you specified a different one)
echo Database: pocdb
pause