installing with script installer.pl
hello, first installing koha with script installer.pl on a solaris 8 machine, everything went fine, until this: CREATING DATABASE Creating the MySQL database for Koha... /usr/local/mysql/bin/mysql Ver 11.16 Distrib 3.23.49, for sun-solaris2.8 (sparc) Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to modify and redistribute it under the GPL license Usage: /usr/local/mysql/bin/mysql [OPTIONS] [database] blabla... ERROR CREATING DATABASE It sounds like arguments are wrong, but how can i control it? i verify i can log in my db: machine-root% mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 11520 to server version: 3.23.49-log Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> If anybody can help? Thanks in advance, -- Gerard HENRY
On 2004-06-04 13:24:24 +0100 Gerard Henry <henry@cmi.univ-mrs.fr> wrote:
first installing koha with script installer.pl on a solaris 8 machine, everything went fine, until this: CREATING DATABASE Creating the MySQL database for Koha... /usr/local/mysql/bin/mysql Ver 11.16 Distrib 3.23.49, for sun-solaris2.8 (sparc)
If you use csh or tcsh, then I suspect this is the same problem as some BSDs. Can you try again, using bash or sh as your shell, please? Typing "exec sh" might be enough. I want to fix this, but I need to isolate exactly what is causing it and there's much else I'm doing. Help from any csh guru welcome. -- MJR/slef My Opinion Only and possibly not of any group I know. http://www.ttllp.co.uk/ for creative copyleft computing Help hack the EuroParl! http://mjr.towers.org.uk/proj/eurovote/
identifying what's wrong with script execution on my machine: hobbit-root% mysql -u root mysql -e "insert into user (Host,User,Password) values ('localhost','kohaadmin','xxxx')" this command fails, but: mysql> use mysql Database changed mysql> insert into user (Host,User,Password) -> values ('localhost','kohaadmin',password('xxxx')); Query OK, 1 row affected (0.01 sec) this command is ok -- Gerard HENRY
On 2004-06-05 07:21:04 +0100 Gerard Henry <henry@cmi.univ-mrs.fr> wrote:
identifying what's wrong with script execution on my machine:
hobbit-root% mysql -u root mysql -e "insert into user (Host,User,Password) values ('localhost','kohaadmin','xxxx')"
Does this work: mysql -u root -e "insert into user (Host,User,Password) values ('localhost','kohaadmin','xxxx')" mysql or this: mysql -u root -e "insert into mysql.user (Host,User,Password) values ('localhost','kohaadmin','xxxx')" ? There might be another mysql command which could be used to make a new user instead too. Lots to try. -- MJR/slef My Opinion Only and possibly not of any group I know. http://www.ttllp.co.uk/ for creative copyleft computing Help hack the EuroParl! http://mjr.towers.org.uk/proj/eurovote/
participants (2)
-
Gerard Henry -
MJ Ray