Jump to content


Photo

Instalei Postgre No Ubuntu Mas Ele Não Me Deu A Senha


  • Faça o login para participar
11 replies to this topic

#1 GreyWolf

GreyWolf

    Mestre

  • Usuários
  • 674 posts
  • Sexo:Não informado

Posted 12/07/2008, 18:21

Opa pessoal.

Acabei de instalar o postgre no ubuntu pel synaptic só que ele não me da a senha o.o
tento login postgres e nenuma senha e da dados invalidos ¬¬

E também como abro aquela ferramenta que vem junto com ele? Não sei o comando dela ¬¬

Obrigado
  • JeffMalm likes this

#2 boirock

boirock

    Tecnologia para todos (agora hexa campeão)

  • Usuários
  • 1559 posts
  • Sexo:Masculino
  • Localidade:Curitiba - PR
  • Interesses:PostgreSQL - PHP

Posted 12/07/2008, 18:52

Não sei a senha padrão de instalação, mas faça o seguinte...
Vá até o pg_hba.conf e sete (temporariamente) o acesso como TRUST para o usuário local.
Reinicie o postgres.
Você vai conseguir entrar sem senha.
Faça login e altere a senha do superuser para uma senha que você vá lembrar.
Feito isso, vá até o pg_hba.conf e altere o acesso para md5 novamente (ou o que você quiser).
Reinicie o postgres.
Tome uma Xiboquinha pra comemorar... tudo funcionando! (y) ;)

Ah, ferramenta é o PgAdmin ou o psql?

#3 GreyWolf

GreyWolf

    Mestre

  • Usuários
  • 674 posts
  • Sexo:Não informado

Posted 12/07/2008, 19:02

vou dar uma olhada xD

pgadmin do php que tem aqui

no windows no trampo vem uma ferramenta front-end junto, achei ela interessante. Não tem pra linux?

#4 Prog

Prog

    ...

  • Ex-Admins
  • 3761 posts
  • Sexo:Masculino
  • Localidade:Rio de Janeiro/RJ
  • Interesses:TI, Software Livre, Design Digital e Rock'n'Roll.

Posted 12/07/2008, 20:25

no windows no trampo vem uma ferramenta front-end junto, achei ela interessante. Não tem pra linux?


Tem...
$ sudo apt-get install pgadmin3

A senha padrão no Linux, se não estou enganado é em branco ou o mesmo nome do usuário, então tente:
usuário: postgres e senha: em branco
usuário: postgres e senha: postgres
------
Mero mortal!

#5 leocampra

leocampra

    Turista

  • Usuários
  • 54 posts
  • Sexo:Não informado

Posted 13/07/2008, 00:09

insatalado postgres no ubuntu

sudo apt-get install postgresql-8.3

instalar pgadmin para administrar banco postgres

sudo apt-get install pgadmin3

mudar senha do usuario postgres para poder conectar ao postgres (este procedimento é importante se vc nao quiser ficar quebrando a cabeça para achar a senha padrao do postgres)

primeiro passo:
sudo -u postgres psql template1
segundo passo:
alter user postgres with password 'digite aqui a sua senha';
\q (para sair)

abra o pgadmin e crie uma nova conexao com o banco local:
endereco: localhost
porta:5432
usuario: postgres
senha: (a senha que vc definiu)

boa sorte.

#6 GreyWolf

GreyWolf

    Mestre

  • Usuários
  • 674 posts
  • Sexo:Não informado

Posted 13/07/2008, 18:03

Ae agora ta rodando redondinho xD
Valeu pela ajuda de vocês xD~

To em outra máquina, em menos de 1 hora instalei php, apache, mysql, postgres, os módulos e frontends para eles.
No windows fiquei a tarde toda e não consegui fazer rodar postgres no php ¬¬

Apareceu isto aqui:

Server instrumentation
The server lacks instrumentation functions.
pgAdmin III uses some support functions that are not available by default in all PostgreSQL versions. These enable some tasks that make life easier when dealing with log files and configuration files.
When you install PostgreSQL 8.0 or up using the Windows installer, you just need to select the "admin" or "adminpack" module.c
When compiling from source, the necessary files can be found in the xtra subdirectory of the pgAdmin source tree. For PostgreSQL 8.0, copy the admin directory under the postgresql contrib source directory, make and make install from there. For PostgreSQL 8.1, use the admin81 directory for that.
PostgreSQL 8.2 and above include the instrumentation functions in the "adminpack" contrib module. After the module is installed, you need to create the instrumentation functions in your maintenance database using the admin.sql script (admin81.sql for PostgreSQL 8.1) which are usually located in the pgsql share directory (e.g. /usr/local/pgsql/share)
Extended server instrumentation is not supported for PostgreSQL 7.3 and 7.4.



#7 LarPhozyHah

LarPhozyHah

    Super Veterano

  • Usuários
  • 14515 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 20/09/2017, 14:29

discount generic isotretinoin website mastercard store Winston-Salem online pharmacy Viagra Plus For Sale Chewable Viagra Cialis.60mg.Sale cialis Cialis Andorra
Buy Canadian Viagra cialis Sale isotretinoin cheap legally mastercard accepted
Cephalexin Used For
Viagra A Change Ma Vie <a href=http://cialtobuy.com>cialis price</a> Buy One Dose Azithromycin
Foro Comprar Viagra online pharmacy Mucinex And Antibiotics Keflex Together
Viagra Natural Para Mujeres Real Free Shipping Macrobid In Internet Shipped Ups Cheapeast
Priligy Donde Comprar <a href=http://cialtobuy.com>cialis price</a> Amoxicillin Single Dose Before Dentist

#8 LarPhozyHah

LarPhozyHah

    Super Veterano

  • Usuários
  • 14515 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 28/09/2017, 00:36

Ed Drugs From India Levitra Accion Amoxicillin Allergic Reaction Symptoms cialis price 40mg Cialis
Zithromax Before Ivf Les Effets Du Viagra Sur L'Homme generic cialis Zithromax For Dogs
Vente Cialis Blog cialis price Allergic Reaction To Cephalexin
Buy Sildenafil 100mg Cialis Prix Pharmacie online pharmacy Forum Ou Acheter Du Cialis Zithromax Good For Uti Compare Zenerx With Viagra

#9 LarPhozyHah

LarPhozyHah

    Super Veterano

  • Usuários
  • 14515 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 23/10/2017, 09:35

How To Buy Levaquin Overseas cialis online Amoxicillin For Fish And Humans Buy Clomid And Pay With Pay Pal Wie Bekomme Ich Viagra Rezept
Cialis Generika Kaufen Rezeptfrei Levitra Gunstig Ohne Rezept viagra Viagra Uk Retailers
Propecia Nach 3 Monaten Bupropionxl viagra online Site Vente Levitra Fiable
discount programs for accutane viagra Direct Macrobid Pills Low Price Pharmacy Cash On Delivery

#10 LarPhozyHah

LarPhozyHah

    Super Veterano

  • Usuários
  • 14515 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 02/11/2017, 20:40

Comprare Il Viagra On Line viagra Clomid Avant Combien De Temps
Ou Acheter Du Cialis Sans Ordonnance Lioresal Pas Cher 10mg Herbal Remedies For Vardenafil best price on levitra Progesterone C.O.D. Internet Fluoxetine Buy By Money Order Site Achat Cialis
Recomended Amoxicillin Doses For Sinus Infections Levitra De Bayer Precios Viagra Brand On Line online pharmacy Levitra 20 Mg Risultati

#11 LarPhozyHah

LarPhozyHah

    Super Veterano

  • Usuários
  • 14515 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 30/11/2017, 09:35

Buy Viagra Chewable Cheap brandlevitra on line isotretinoin 10mg mail order on line Amoxicillin Capsule
Where Can I Buy Provera viagra Patient Reviews For Propecia Propecia Risquez
Recommended Amoxicillin Dosage For Bladder Infection buy viagra online Viagra Homeopathie Online Meds No Prescription Europe
Easy Buy Viagra References On Amoxicillin buy viagra Viagra Levitra Kaufen Cephalexin Genrx

#12 JeffMalm

JeffMalm

    Super Veterano

  • Usuários
  • 12254 posts
  • Sexo:Feminino
  • Localidade:Mount Carey

Posted 07/12/2022, 07:45

Monitor Closely 1 ofloxacin will decrease the level or effect of bazedoxifene conjugated estrogens by altering intestinal flora buy stromectol Are Women Better Than Men, 18




0 user(s) are reading this topic

0 membro(s), 0 visitante(s) e 0 membros anônimo(s)

IPB Skin By Virteq