hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : Postgre phpbb3 install problem
Reply

Programming Discussion Discussions related to web programming languages and other related issues. Topics may include configuration, optimization, practical usage and database connectivity.
Forum Jump

Postgre phpbb3 install problem

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 09-03-2007, 11:02 AM
sachadmin sachadmin is offline
Newbie
 
Join Date: Aug 2006
Posts: 8

Postgre phpbb3 install problem


Hello,

One of our domain is getting problem while installing Postgress phpbb3.

I got the following error while creating it on my phpbb3 installation.

"The database you have selected was not created in UNICODE or UTF8 encoding. Try installing with a database in UNICODE or UTF8 encoding."

When we try to login using "psql -U postgres -W" it doesn't work.

Please let us know what should we do to fix this issue.

Thank You

Reply With Quote


Sponsored Links
  #2  
Old 09-03-2007, 12:18 PM
mwatkins mwatkins is offline
Web Hosting Master
 
Join Date: Nov 2001
Location: Vancouver
Posts: 2,416
Create your database with a UTF8 encoding, either from the command line:

man createdb

Or from psql / via a sql script:

http://www.postgresql.org/docs/8.2/s...edatabase.html

__________________
“Even those who arrange and design shrubberies are under
considerable economic stress at this period in history.”

Reply With Quote
  #3  
Old 09-05-2007, 07:27 AM
sachadmin sachadmin is offline
Newbie
 
Join Date: Aug 2006
Posts: 8
Hello,

Thank you for your reply but

First we are not able to login by

"psql -U postgres -W"

we get "psql: FATAL: IDENT authentication failed for user "postgres""

this message

~ Sachin

Reply With Quote
Sponsored Links
  #4  
Old 09-05-2007, 10:28 AM
mwatkins mwatkins is offline
Web Hosting Master
 
Join Date: Nov 2001
Location: Vancouver
Posts: 2,416
Your login issue could be a number of things; perhaps you should speak to your provider if checking the following gets you no where.

1. Are you sure you have the right id/password? Error message suggests not.

2. Are you sure the Postgresql user on your system is named "postgres"? On my systems (FreeBSD) by default it is "pgsql". Check /etc/passwd and see.

A permitted user (a Postgresql 'superuser') on my systems can issue:

% psql -U pgsql postgres

And access using that ID. If you've not created roles for the user id you are logging in as, you'll need to do that.

3. man createuser

Your ID must at least have createdb privileges.

If you have root access to the box, use that to create a role for your application to use.

__________________
“Even those who arrange and design shrubberies are under
considerable economic stress at this period in history.”

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Softaculous Releases Auto Installer Version 4.1.7 Web Hosting News 2012-12-19 16:45:21
Web Host A Small Orange Provides Customers with One-Click App Install via Softaculous Web Hosting News 2012-04-03 14:53:05
Hosting Software Firm Softaculous Releases Version 4.0 Web Hosting News 2012-01-23 13:54:44
Web Host HostingZoom Adds Softaculous Auto-Installer to Hosting Plans Web Hosting News 2011-08-17 17:52:34
Attracta Offers Single-Click Web App Installation to Customers Web Hosting News 2011-08-11 16:57:09


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?