hezean / sustc

Template for project 2 of SUSTech Principles of Database Systems (CS307 / CS213), 23 fall semester.
http://172.18.34.154
MIT License
22 stars 9 forks source link

[Shell] The url cannot be null #95

Closed QueenofUSSR closed 8 months ago

QueenofUSSR commented 8 months ago

Describe your question

As i excute the bootRun, and i input a command, it went wrong.

image Did i miss some configration about connecting the database or something? Please tell me how to solve this problem.

hezean commented 8 months ago

ensure your application.yml looks like this

spring:
  datasource:
    url: jdbc:postgresql://localhost:5432/sustc  # change this to your own jdbc url
    username: sustc  # change this to your own username (avoid using a superuser)
    password: sustc  # change this to your own password