File tree 1 file changed +10
-4
lines changed
1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -96,18 +96,24 @@ sudo apt-get upgrade
96
96
* Serverin locale si ayarlanması
97
97
* ENCODING' ı unutmayın!
98
98
99
- `CREATE DATABASE xxxx_production OWNER xxxx ENCODING ' UTF8' LC_COLLATE = ' en_US.UTF-8' LC_CTYPE = ' en_US.UTF-8' TEMPLATE template0;`
99
+ ```sql
100
+ CREATE DATABASE xxxx_production OWNER xxxx ENCODING ' UTF8' LC_COLLATE = ' en_US.UTF-8' LC_CTYPE = ' en_US.UTF-8' TEMPLATE template0;
101
+ ````
100
102
101
103
**DROP DB**
102
104
103
- `DROP DATABASE xxxx_production;`
105
+ ```sql
106
+ DROP DATABASE xxxx_production;
107
+ ````
104
108
105
109
**Can' t Drop Db Sorunsali**
106
110
107
111
DB yi kullanan sessionlarin olmasi durumu.
108
112
109
- ` SELECT pid FROM pg_stat_activity where pid <> pg_backend_pid ();`
110
- ` SELECT pg_terminate_backend(pid); `
113
+ ` ` ` sql
114
+ SELECT pid FROM pg_stat_activity where pid <> pg_backend_pid ();
115
+ SELECT pg_terminate_backend(pid);
116
+ ````
111
117
112
118
# ## Bağlantı ve Yetkilendirme
113
119
You can’t perform that action at this time.
0 commit comments