MySQL Forums
Forum List  »  Newbie

mysql batch command in shell not working? :)
Posted by: james nazareno
Date: June 29, 2005 01:05PM

hi, guys... :)
i tried to use batch commands in DOS mode... i'm using using mysql 4.1
and this is the command i did...
c:\mysql batch1

but the command just gave me an error message and this is what it gave to me...
error 1045 (28000): access denied for user 'ODBC'@localhost' (using password:NO)

I know how to use the right command in entering the mysql Monitor, just type like this...
c:\mysql -h localhost -u root -pmypassword

but this is not the refrence maual said, when using mysql batch command it should be in shell or dos mode... not inside mysql monitor...

Well i just want to know how to use mysql batch command the right way...
So what is the right syntax for this, so that it will not post a message error...
some snippet code are appreciated...


thanxs n advance... :)


-/james/

Options: ReplyQuote


Subject
Written By
Posted
mysql batch command in shell not working? :)
June 29, 2005 01:05PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.