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/