Giter VIP home page Giter VIP logo

Comments (1)

CTF-MissFeng avatar CTF-MissFeng commented on May 25, 2024

师傅, 请问下关于数据库连接字符:
SQLALCHEMY_DATABASE_URI = 'postgresql://postgres:qazxsw@[email protected]/bayonet'
其中postgresql postgres qazxsw@123 bayonet这几个参数各自代表什么?
新手查了半天资料无获,谢谢~

postgresql://postgres:qazxsw@[email protected]/bayonet

  • postgres:qazxsw@123 数据库用户名和密码
  • 127.0.0.1 数据库连接地址
  • bayonet 数据库名

格式:dialect+driver://username:password@host:port/database

多种数据库连接形式:

Postgres:
postgresql://scott:tiger@localhost/mydatabase

MySQL:
mysql://scott:tiger@localhost/mydatabase

Oracle:
oracle://scott:[email protected]:1521/sidname

from bayonet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.