Your Database is Ready!
Connection Details
Database:
Username:
Password:
Host:
Port:
Connection URL
Connection Examples
Python with SQLAlchemy
from sqlalchemy import create_engine
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import sessionmaker
# Replace with your connection URL
DATABASE_URL = "your_connection_url"
engine = create_engine(DATABASE_URL)
SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)
Base = declarative_base()
QGIS Connection
- Open QGIS and go to Layer > Add Layer > Add PostGIS Layers
- Click New to create a new connection
- Enter the connection details:
- Name: Give your connection a name
- Host: Enter the host from the connection details
- Port: Enter the port from the connection details
- Database: Enter the database name from the connection details
- Username: Enter the username from the connection details
- Password: Enter the password from the connection details
- Click Test Connection to verify
- Click OK to save the connection