-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup_database.sh
More file actions
35 lines (29 loc) · 946 Bytes
/
Copy pathsetup_database.sh
File metadata and controls
35 lines (29 loc) · 946 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
#!/bin/bash
# DataBridge SQL Server Setup Helper
# This script runs the setup_sqlserver.py script with default settings
echo "DataBridge SQL Server Setup"
echo "==========================="
# Check if Python is installed
if ! command -v python3 &> /dev/null; then
echo "Python is not installed or not in PATH"
echo "Please install Python 3.6 or higher"
exit 1
fi
# Check if Docker is installed
if ! command -v docker &> /dev/null; then
echo "Docker is not installed or not in PATH"
echo "Please install Docker and make sure it's running"
exit 1
fi
echo "Starting SQL Server setup..."
python3 setup_sqlserver.py "$@"
if [ $? -ne 0 ]; then
echo "Setup failed"
exit 1
fi
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"