[Koha] error when creating database

Wahyu Wijaya H. wahyu_w_h at yahoo.co.uk
Fri Jan 6 14:22:23 NZDT 2006


Hi, this is my first time to installing koha on linux platform, so I'm a newbie. 
 
 I'm using ubuntu linux ver. 2.12.1. 
 
 I already finish my "apt-get" installation followed by the additional perl modules using MCPAN install.
 
 And when I try to install koha I see this message :
 
 -------------------------------------------------------------------------------------------
  MYSQL ROOT USER PASSWORD
 
 To create the koha database, please enter your mysql server's root user
 password:
 
 Password:
 
 
 
  CREATING DATABASE
 
 Creating the MySQL database for Koha...
 ERROR 1045: Access denied for user: 'root at localhost' (Using password: YES)
 256ERROR 1045: Access denied for user: 'root at localhost' (Using password: YES)
 /usr/bin/mysqladmin: connect to server at 'localhost' failed
 error: 'Access denied for user: 'root at localhost' (Using password: YES)'
 /usr/bin/mysqladmin: connect to server at 'localhost' failed
 error: 'Access denied for user: 'syamsinar at localhost' (Using password: YES)'
 
 
  ERROR CREATING DATABASE
 
 Couldn't connect to the MySQL server for the reason given above. This is a
 serious problem, the database will not get installed.
 
 Press <ENTER> to continue:
 
 DBI connect('sd_yps:localhost','syamsinar',...) failed: Access denied for user: 'syamsinar at localhost' (Using password: YES) at /usr/local/koha/intranet/modules/C4/Context.pm line 411
 Can't call method "prepare" on an undefined value at scripts/updater/updatedatabase line 1008.
 Problem updating database...
 root at yps-013:/home/syamsinar/koha-2.2.4#
 ------------------------------------------------------------------------------------------
 
 I got a problem with mysql....
 
 At first I thought, maybe it is because I haven't set the password for mysql (I put blank when the installation ask me to enter mysql root password), so I go back to the terminal and type mysqladmin password, and then I got this message :
 
 -------------------------------------------------------------------------------------------
 root at yps-013:/home/syamsinar/koha-2.2.4# mysqladmin password
 mysqladmin: connect to server at 'localhost' failed
 error: 'Access denied for user: 'root at localhost' (Using password: NO)'
 root at yps-013:/home/syamsinar/koha-2.2.4#
 -------------------------------------------------------------------------------------------
 
 please help me, what should I do? I'm not familiar with sql database. 
 
 Regards, 
 Wahyu W. H.
 

		
---------------------------------
  Yahoo! Cars NEW - sell your car and browse thousands of new and used cars online search now  
---------------------------------
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20060106/a763b3e0/attachment.html


More information about the Koha mailing list