PostgreSQL10 configuration remote connection
psql –– version
centos7.3
1, open the corresponding Firewall port, allow port 5432
2, access permission configuration /etc/postgresql/10/main/
under pg_hba.conf


3, monitoring machine configuration postgresql.conf under /etc/postgresql/10/main/
postgresql.conf
< /h3>
#-Connection Settings-
listen_addresses = ‘*‘ # what IP address(es) to listen on;
# comma-separated list of addresses;
# defaults to ‘localhost’; use ‘*’ for all
# (change requires restart)
#port = 5432 # (change requires restart)
centos6.8
The above files are in the path of /var/lib/pgsql/10/data/
Down
WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 732 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC
/etc/postgresql/10/main/
postgresql.conf
< /h3>

centos6.8
The above files are in the path of /var/lib/pgsql/10/data/
Down






WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 732 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC