Search
 
SCRIPT & CODE EXAMPLE
 

SQL

restarting of postgresql server when not connecting to default port

~$ sudo chown postgres.postgres /var/lib/postgresql/12/main/global/pg_internal.init
~$ sudo rm -rf 12/main/global/pg_internal.init
~$ sudo rm -rf /var/lib/postgresql/12/main/pg_logical/replorigin_checkpoint
~$ sudo -i -u postgres
~$ /usr/lib/postgresql/12/bin/pg_ctl restart -D /var/lib/postgresql/12/main
Comment

restarting of postgresql server when not connecting to default port

~$ sudo chown postgres.postgres /var/lib/postgresql/12/main/global/pg_internal.init
~$ sudo rm -rf 12/main/global/pg_internal.init
~$ sudo rm -rf /var/lib/postgresql/12/main/pg_logical/replorigin_checkpoint
~$ sudo -i -u postgres
~$ /usr/lib/postgresql/12/bin/pg_ctl restart -D /var/lib/postgresql/12/main
Comment

PREVIOUS NEXT
Code Example
Sql :: creating a joined view in mysql 
Sql :: mysqlcli how to load external sql file 
Sql :: How to do a cumulative count using Raw SQl / Laravel - Eloquent ORM 
Sql :: MySQL Min And As 
Sql :: sql express database size limit 
Sql :: oracle date summer time 
Sql :: triggers in mysql 
Sql :: Resulting Query 
Sql :: mysql cannot access localhost 
Sql :: rails sql query converstion 
Sql :: sql server assembly 
Sql :: postgresql select fast check no rows 
Sql :: get rows from 1 table with other table empty mysql 
Sql :: divide database into structured tables 
Sql :: for each row trigger postgresql 
Sql :: create table with error 
Sql :: tsql table column constraint must be uppercase 
Sql :: big table in mysql 
Sql :: %ORACLE_HOME%database 
Sql :: sql to c# linq converter online 
Sql :: drop-toys-table 
Sql :: pass timestamp in sql quqey of sql server 
Sql :: ORACLE RANGE DATE USING CONNECT BY PER WEEK,MONTHS,ETC 
Sql :: view psql output in horizontal scrolling 
Sql :: reset sql primary key 
Sql :: how to update the multiple rows in sql 
Sql :: oracle query to see what scema i am working in 
Sql :: fast sql column count 
Sql :: oracle last user logon 
Sql :: mysql server create connection string 
ADD CONTENT
Topic
Content
Source link
Name
3+8 =