I am just now setting up Ubuntu Server 8.04. I installed Moodle 1.8.2 with Synaptic Package Manager, and that worked. Then, I was asked to install the latest Moodle 1.9.5. I am at the database page, and I have NO IDEA what to do. I don´t know what database I have. I think I have PostgreSQL 8.3, but I am not sure. I tried to follow the instructions
http://docs.moodle.org/en/Step-by-step_Install_Guide_for_Ubuntu#Install_Postgresql_.28skip_MySQL.29
But that didn´t work.
I might have the other database stuff, but I don´t know. I remember installing some database stuff the first time I installed the Moodle 1.8.2, but that user name and password didn´t work.
It wants me to fill out:
Type:
Host:
Name:
User:
Password:
Tables Prefix:
What do I do here?
In reply to Robert Stephens
Odp: Installing Moodle 1.9.5, What to do at the database page
由Bartosz Cisek發表於
Fire up shell and type: "dpkg -l mysql* | grep ^ii" (double lower i). If something shows up, you have MySQL.
Second command might be: "dpkg -l postgres* | grep ^ii". As a result you would have list of installed PostgreSQL packages.
Next step would be database setup, but first you have to know which one
Second command might be: "dpkg -l postgres* | grep ^ii". As a result you would have list of installed PostgreSQL packages.
Next step would be database setup, but first you have to know which one
In reply to Bartosz Cisek
Re: Odp: Installing Moodle 1.9.5, What to do at the database page
由Robert Stephens發表於
Thank you. Here is what I have. I guess Postgresql 8.3.
$: dpkg -l postgres* | grep ^ii
ii postgresql 8.3.7-0ubuntu8.04.1 object-relational SQL database (latest version)
ii postgresql-8.3 8.3.7-0ubuntu8.04.1 object-relational SQL database, version 8.3 ser
ii postgresql-client 8.3.7-0ubuntu8.04.1 front-end programs for PostgreSQL (latest versi
ii postgresql-client-8.3 8.3.7-0ubuntu8.04.1 front-end programs for PostgreSQL 8.3
ii postgresql-client-common 87 manager for multiple PostgreSQL client versions
ii postgresql-common 87 PostgreSQL database-cluster manager
ii postgresql-contrib 8.3.7-0ubuntu8.04.1 additional facilities for PostgreSQL (latest ve
ii postgresql-contrib-8.3 8.3.7-0ubuntu8.04.1 additional facilities for PostgreSQL
ii postgresql-doc 8.3.7-0ubuntu8.04.1 documentation for the PostgreSQL database manag
ii postgresql-doc-8.3 8.3.7-0ubuntu8.04.1 documentation for the PostgreSQL database manag
ii postgresql-pltcl-8.3 8.3.7-0ubuntu8.04.1 PL/Tcl procedural language for PostgreSQL 8.3
ii postgresql-server-dev-8.3 8.3.7-0ubuntu8.04.1 development files for PostgreSQL 8.3 server-sid
$: dpkg -l mysql* | grep ^ii
ii mysql-common 5.0.51a-3ubuntu5.4 MySQL database common files
$:
Ok, so how do I set up database stuff. I guess I need a user name and password somehow.
$: dpkg -l postgres* | grep ^ii
ii postgresql 8.3.7-0ubuntu8.04.1 object-relational SQL database (latest version)
ii postgresql-8.3 8.3.7-0ubuntu8.04.1 object-relational SQL database, version 8.3 ser
ii postgresql-client 8.3.7-0ubuntu8.04.1 front-end programs for PostgreSQL (latest versi
ii postgresql-client-8.3 8.3.7-0ubuntu8.04.1 front-end programs for PostgreSQL 8.3
ii postgresql-client-common 87 manager for multiple PostgreSQL client versions
ii postgresql-common 87 PostgreSQL database-cluster manager
ii postgresql-contrib 8.3.7-0ubuntu8.04.1 additional facilities for PostgreSQL (latest ve
ii postgresql-contrib-8.3 8.3.7-0ubuntu8.04.1 additional facilities for PostgreSQL
ii postgresql-doc 8.3.7-0ubuntu8.04.1 documentation for the PostgreSQL database manag
ii postgresql-doc-8.3 8.3.7-0ubuntu8.04.1 documentation for the PostgreSQL database manag
ii postgresql-pltcl-8.3 8.3.7-0ubuntu8.04.1 PL/Tcl procedural language for PostgreSQL 8.3
ii postgresql-server-dev-8.3 8.3.7-0ubuntu8.04.1 development files for PostgreSQL 8.3 server-sid
$: dpkg -l mysql* | grep ^ii
ii mysql-common 5.0.51a-3ubuntu5.4 MySQL database common files
$:
Ok, so how do I set up database stuff. I guess I need a user name and password somehow.
In reply to Robert Stephens
Re: Installing Moodle 1.9.5, What to do at the database page
由Robert Stephens發表於
Now the page is not even loading. All I see is
Not Found
The requested URL /moodle was not found on this server.
I don't know my postgrel password. I tried uninstalling it and then reinstalling, but postgrel wants the password from before. Now that moodle is not even loading, what do I do?
In reply to Robert Stephens
Re: Installing Moodle 1.9.5, What to do at the database page
由Robert Stephens發表於
I've included a screen shot. I thought my database name was moodle, username was moodle, and that I had the correct password, but nothing works. I tried just leaving host server as localhost and everythings else blank, but that didn't work either.
I don't even know if posrgreSQL is set up correctly. I try to enter
createdb mydbase
but the computer just responds
createdb: could not connect to database postgres: FATAL: Ident authentication failed for user "bob"
This moodle just does not want to cooperate.
I don't even know if posrgreSQL is set up correctly. I try to enter
createdb mydbase
but the computer just responds
createdb: could not connect to database postgres: FATAL: Ident authentication failed for user "bob"
This moodle just does not want to cooperate.
