phpScheduleIt
May 24, 2013, 02:01:12 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: phpScheduleIt 2.4.2 has been released!
Home
Help
Login
Register
phpScheduleIt
>
Help and Support
>
phpScheduleIt 1.2.x
>
How to install with Postgres
Pages: [
1
]
« previous
next »
Print
Author
Topic: How to install with Postgres (Read 905 times)
pixbuf
Newbie
Karma: 0
Posts: 3
How to install with Postgres
«
on:
March 02, 2009, 08:11:58 PM »
Hello, I want to install phpScheduleIt on a system that already has postgres installed. I tried using the automatic install, but it failed, saying it couldn't connect to the database. I'm going to try the manual install, but since the accounting system for our business also runs on the postgres server, I'm wary of trying anything that could wipe out the business.
Can anyone give me some some concrete hints for a *safe* install?
Thanks.
(I'm running postgres 8.0.15 on a Gentoo Linux system with apache 2.2.9 and php 5.2.8 )
Logged
Nick
Administrator
Hero Member
Karma: 15
Posts: 5419
Re: How to install with Postgres
«
Reply #1 on:
March 03, 2009, 02:02:10 PM »
Running the manual install will create a new database called phpScheduleIt (by default), so there should be no impact to other databases on the server. As always, I'd do a backup of existing data as a precaution.
If you can, I'd try a test run on an isolated Postgres server to work out any kinks.
Logged
pixbuf
Newbie
Karma: 0
Posts: 3
Re: How to install with Postgres
«
Reply #2 on:
March 03, 2009, 03:05:38 PM »
I decided to take the plunge. I created a database user, scheduleit. I created the user with no password, so I put in config.php this line:
$conf['db']['dbPass'] = '';
Is that right?
Then I tried this:
psql -U scheduleit phpscheduleit < setup.sql
but got this message:
psql: FATAL: database "phpscheduleit" does not exist
I get the same message if I leave the name of the database out.
I'm stuck. It appears that the setup script creates the database. I don't know why it should complain like this. Help, please?
Logged
pixbuf
Newbie
Karma: 0
Posts: 3
Re: How to install with Postgres
«
Reply #3 on:
March 04, 2009, 08:15:07 PM »
Since it keeps complaining that the database doesn't exist, I tried creating it:
$ psql -c "create database phpScheduleIt;"
psql: FATAL: database "postgres" does not exist
$ psql -c "create database phpScheduleIt;" phpScheduleIt scheduleit
psql: FATAL: database "phpScheduleIt" does not exist
This is very frustrating.
Logged
gerg
Newbie
Karma: 0
Posts: 24
Re: How to install with Postgres
«
Reply #4 on:
March 06, 2009, 10:15:02 AM »
Can't you just bypass the setup/install and run an sql query of the supplied sql and then adjust your config.php properly, load up the files and go from there?
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Announcements
=> Open Discussion
=> Donations
-----------------------------
Help and Support
-----------------------------
=> phpScheduleIt 2.x
=> EspaƱol
=> phpScheduleIt 1.2.x
=> phpScheduleIt 1.1.x
=> New Features and Suggestions
=> Developers
-----------------------------
Bugs
-----------------------------
=> phpScheduleIt 1.2.x
=> phpScheduleIt 1.1.x
-----------------------------
Modifications
-----------------------------
=> Post Modifications
=> Request Modification
-----------------------------
Development
-----------------------------
=> phpScheduleIt 2.0
-----------------------------
Off-Topic
-----------------------------
=> Non-phpScheduleIt Discussion
Loading...