django - MAC - 如何查找和删除 postgres 服务器?
问题描述
我找不到杀死或删除我的 postgresql 服务器的方法。
postgres -V
显示版本是 9.5.3 但我在我的 mac 中找不到路径文件。我试过lsof -i :5432
了,结果如下
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
postgres 1403 jk0819 5u IPv6 0x35013bd948ad16e1 0t0 TCPlocalhost:postgresql (LISTEN)
postgres 1403 jk0819 6u IPv4 0x35013bd9438f8821 0t0 TCP localhost:postgresql (LISTEN)
但是当我运行kill -9 1403
时它什么也不做。谁能帮我?
谢谢你。
解决方案
推荐阅读
- java - 当两个对象具有相同的值时,为什么我的程序不能将它们识别为相等?
- html - 显示图像时使用 laravel 出错的地方
- java - USB 错误 9:无法提交控制消息:管道错误
- android - 可以使用哪种设计模式来代替 Manager 类?
- css - Normalize.css/Reset CSS 是否包含在 Angular/React/Vue.js 中?
- c# - 自动生成的 EF Core 上下文和实体(.efm、.edps 和 .view 文件)
- sql - 如何选择在 SQL 中某个操作之后立即发生的值?
- c++ - 如何在标头和 .cpp 文件中正确声明返回自定义类型的函数?
- node.js - Issues connecting to mosquitto broker with node mqtt client via SSL/TLS
- bash - 为什么这个带有子shell的嵌套bash命令会挂起?