LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-04-2005, 02:22 AM   #1
alejandroye
Member
 
Registered: May 2004
Location: SOUTH FLORIDA USA
Distribution: MANDRIVA / CENTOS
Posts: 146

Rep: Reputation: 15
Uninstalling Postgres


hello all

I have postgres 7.4.5 installed with mandrake 10.1 and I want to unistall from the system because I want setup mysql that come with drake 10.1 and postgres never worked

any help how to uninstall postgres by terminal mode?

thank you
 
Old 01-05-2005, 05:31 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
You can use drakx to uninstall it; I think it works even in terminal mode. Alternatively, you can use
Code:
rpm --erase packagename
You can install mysql alongside postgres without causing any problems, as they use completely different protocols and network ports.

There's a very good tutorial on getting started with postgresql at http://www.postgresql.org/docs/. Basically you need to su to root in order to su to postgres to create a user account. Then you can create a database, and after that it's very easy to use.
 
Old 01-05-2005, 04:51 PM   #3
alejandroye
Member
 
Registered: May 2004
Location: SOUTH FLORIDA USA
Distribution: MANDRIVA / CENTOS
Posts: 146

Original Poster
Rep: Reputation: 15
thank you for your help,

I was going to work with postgres but the application never work because a error.
I installed postgres, I did the cluster and I started creating DB by CREATDB and also creating some tables, but when I tried to access from any php page, I continue getting the error;

Call to undefined function: pg_connect() in /home/projects/web/pgstart.php on line 3

so for this reason I decided to uninstall it and start with my Mysql

any help or sugestion or link about this error that I am seeing that happend to many peoples

thank you
 
Old 01-17-2005, 02:42 PM   #4
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
This is a problem with your PHP installation, not with PostgreSQL. You haven't got the pg_* extensions installed, which you need to connect to a postgres database server; see the PHP documentation for details.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
postgres users mraray Linux - Software 0 11-26-2005 09:24 PM
Postgres Hiper1 Linux - Newbie 8 04-10-2005 06:43 PM
Postgres setup rickh Linux - Software 4 02-27-2005 04:44 PM
Installing Postgres 7.3 Hiper1 Linux - Software 0 12-01-2004 02:38 AM
MySQL or PostGres ?? Peds Linux - Software 5 02-18-2004 12:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 04:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration