当前位置:数据库 > SQLServer >>

ubuntu安装Postgresql/Pgadmin3


ubuntu安装Postgresql/Pgadmin3
 
dpkg -l | grep postgresql
sudo apt-get --purge remove postgresql\*
sudo rm -rf /var/lib/postgresql
sudo rm -r /etc/postgresql/
sudo userdel postgres   // sudo userdel -r postgres
sudo groupdel postgres  www.zzzyk.com  
sudo apt-get install postgresql-9.1 postgresql-client-9.1 postgresql-contrib-9.1
sudo service postgresql start
sudo passwd postgres
sudo su postgres
psql postgres
ALTER USER postgres WITH PASSWORD '123123';
\q
exit
sudo apt-get install pgadmin3
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,