当前位置:网站首页>WARNING: sql version 9.2, server version 11.0. Some psql features might not work.
WARNING: sql version 9.2, server version 11.0. Some psql features might not work.
2022-08-04 06:06:00 【Big Yellow Cat No. 1】
This means that the server already has the database version 11.0 installed, but the path to psql is from an older version, 9.2 in this example.If you do not handle this warning, some psql features will not work when operating on the database,
For example, changing the password will not work
Solution:
First, we look at the path of psql and the result is
which psql
If the displayed path is /bin/psql, it means that the login database uses this path by default, so you need to remove the files on this path and link the new version to this path, so that the search path will automatically go to the new version.(requires root user to operate)
# mv /bin/psql /bin/psql-bk
# ln -s /usr/local/psql/bin/psql /bin/psql
Another solution is Log in directly with an absolute pathpsql /usr/local/psql/bin/psql Note hereThe path is the path of your own installation.
边栏推荐
猜你喜欢
随机推荐
TensorFlow2学习笔记:8、tf.keras实现线性回归,Income数据集:受教育年限与收入数据集
ISCC2021———MISC部分复现(练武)
Android connects to mysql database using okhttp
多项式回归(PolynomialFeatures)
Redis持久化方式RDB和AOF详解
彻底搞懂箱形图分析
完美解决keyby造成的数据倾斜导致吞吐量降低的问题
yolov3中数据读入(一)
视图、存储过程、触发器
flink onTimer定时器实现定时需求
Kubernetes基本入门-集群资源(二)
剑指 Offer 2022/7/11
字典特征提取,文本特征提取。
(六)递归
TensorFlow2学习笔记:7、优化器
自动化运维工具Ansible(3)PlayBook
Usage of Thread, Handler and IntentService
Androd Day02
两个APP进行AIDL通信
SQL的性能分析、优化









