Database Cluster failed to install PostgreSQL databases!

Source: Internet
Author: User
Tags postgresql

In the process of installing the PG database, the installation directory and data storage directory and port will be selected, and you need to select Local, if you use the default , and set your own password to start the installation, the earlier progress is quite smooth, to the installation of database cluster, It takes a few minutes to prompt, and then a warning box appears, such as.

Click OK, you can install to the end, at the beginning there is no tube so much. But when I opened the PG database login, there was an error "PostgreSQL server is not listening!" ", resulting in a failure to connect to the PG database server. It's over, the server is not up, and nothing can be done.

So online to find ways, some said that it is necessary to shut down the firewall, some said that PostgreSQL Database server did not start, and some say that the 5432 port is occupied and so on, to go back and forth to try to solve the problem. The final suspicion is not their own software is not installed, so focus on the installation of the error, in the online search for reasons, a broad solution is: choose Local, uninstall the reload, I thought it could be successful. But, but, still failed ~ I again uninstall, and the installation directory of the files are all deleted, re-installed or not, no words Ah! So looking for a solution on the Internet, finally found a meaningful article: PostgreSQL installation failed. The article is in English, Chinese meaning I roughly say, is not installed in the default path, do not install in program files, uninstall after reloading in the C:\PostgreSQL path, the installation can be completed smoothly, there will be no fatal error, other non-fatal errors can be ignored. And on Pgadmin III right-click Change its Security property to "Everyone" permission Full Control, enter login can login successfully! ~ ~ in tears!

PS: There is a workaround, which is given by my colleague, I installed the 9.3 version of the problem, you can try to install a higher version, such as 9.5, perhaps 9.5 more stable.

Database Cluster failed to install PostgreSQL databases!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.