kali linux 系列教程之metasploit 连接postgresql可能遇见的问题 文/玄魂 目录 kali linux 下metasploit 连接postgresql可能遇见的问题................................ 1 前言............................................................................................................... 1
# psycopg2 engine=create_engine('postgresql+psycopg2://scott:tiger@localhost/mydatabase')# python 连接postgresql使用psycopg2作为默认的DBAPI The first time a method like Engine.execute()orEngine.connect()is called, the Engine establishes a real DBAPI connecti
一.启动PostgreSQL服务######################################################################?root@root:~# service postgresql start ###启动PostgreSQL服务?root@root:~# service postgresql status ###查看状态?root@root:~# ss -ant ###执行成功后,可以通过ss -ant命令查看端口5432