[Koha] Installation problem

Joe jbalway at gmail.com
Sat Apr 7 02:40:01 NZST 2012

This is straight from my how-to setup koha. ;-)

*[cmd] means you should be entering the following command in the command
line / terminal.*

(You need to know the password for root or you need to be using the
username and password that was given to you by your system administrator.)


*7 - Create MySQL Database and grant all privileges to the koha database to
the specified user* (Do not do this step, if a Koha database is already
setup. An example of when not to do this step would be installing a second
instance of Koha and pointing it to a database that was setup when
installing Koha the first time. The only part of Koha I have on the server
currently is the MySQL database. I have Koha installed on two separate
machines pointing to the hosted MySQL database.)

[cmd] mysqladmin -uroot -ppassword create kohadata

or, if you prefer not to have your mysql root password in your bash history
file, where someone may find it, leave the password out and it will be
asked for in a prompt.

[cmd] mysqladmin -uroot -p create kohadata

It is a good idea not to have koha use the root user for MySQL, but it may
be useful to give the root user access to the kohadata database. The koha
user and password for MySQL that is identified below will be asked for when
you run the Koha install.

[cmd] mysql -uroot -p

> GRANT ALL ON kohadata.* TO 'root'@'localhost' IDENTIFIED BY 'password';

> GRANT ALL ON kohadata.* TO 'koha'@'localhost' IDENTIFIED BY 'password';


> \q

Joseph Alway
Access Services Coordinator
Chan Shun Centennial Library
Southwestern Adventist University

"The World's Great Literary Masterpieces. Freely Available At Your
Fingertips. Project Gutenberg. The Free Digital Library."

On Fri, Apr 6, 2012 at 5:51 AM, kkahmad <kk.ahmad at gmail.com> wrote:

> Hi Lars J. Helbo
> I am facing exactly the same problem. Have you solve this problem ? Need
> help.
> Thanks
> --
> View this message in context:
> http://koha.1045719.n5.nabble.com/Installation-problem-tp4449146p5622521.html
> Sent from the Koha-general mailing list archive at Nabble.com.
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha

More information about the Koha mailing list