Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th September 2009, 16:02
sashi116 sashi116 is offline
Junior Member
 
Join Date: Sep 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Clear The History Of Postgresql commands

How to clear the history of postgresql commands in command line
Reply With Quote
Sponsored Links
  #2  
Old 16th September 2009, 16:05
sashi116 sashi116 is offline
Junior Member
 
Join Date: Sep 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

sudo gvim /home/user/.psql_history
press enter

enter password

then open the file if we want we can clear all the commands or the necessary commands and save the file.
Reply With Quote
  #3  
Old 16th September 2009, 16:07
sashi116 sashi116 is offline
Junior Member
 
Join Date: Sep 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default two databases servers in a system

Can we Have two servers in a system like postgresql and mysql in a system
Reply With Quote
  #4  
Old 17th September 2009, 14:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by sashi116 View Post
Can we Have two servers in a system like postgresql and mysql in a system
Yes, should be no problem.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 17th September 2009, 15:45
sashi116 sashi116 is offline
Junior Member
 
Join Date: Sep 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default 2 severs in a system

I think it will be a probem.
Reply With Quote
  #6  
Old 18th September 2009, 11:23
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Why? They are using different ports.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
GNOME startup apps: where the file with commands? kaza Desktop Operation 1 2nd December 2009 03:44
How to install postgresql 7, php 4, in Suse Linux ES 10 klcc212 HOWTO-Related Questions 3 1st April 2008 17:27
lets support postgresql through ispconfig sourceview Feature Requests 6 3rd June 2006 06:02
Postgresql Support sourceview Installation/Configuration 2 3rd May 2006 22:19
have postgresql and mysql running simultaneously syslink Feature Requests 1 3rd December 2005 01:29


All times are GMT +2. The time now is 10:36.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.