Re: Scripts with arguments

2003-08-29 Thread Roger Baklund
* Enrique Andreu > Hello, I think I have explained bad. I want to pass > the arguments to the sql script. > The argument is for the sql script. > > For example: > myscript.sql should be: > GRANT ALL PRIVILEGES ON *.* TO &1@'%' > where &1 would be parameter 1 > > I want to do something like that: >

RE: Scripts with arguments

2003-08-29 Thread Enrique Andreu
Hello, I think I have explained bad. I want to pass the arguments to the sql script. The argument is for the sql script. For example: myscript.sql should be: GRANT ALL PRIVILEGES ON *.* TO &1@'%' where &1 would be parameter 1 I want to do something like that: dos>mysql mysql -u root -p < myscript

RE: Scripts with arguments

2003-08-29 Thread csebe
Enrique Andreu [mailto:[EMAIL PROTECTED] > Sent: Friday, August 29, 2003 12:36 PM > To: [EMAIL PROTECTED] > Subject: Scripts with arguments > > > Hello. > I have to do an script to create MySQL users, the name > of the new user have to be a parameter of the script. > I ha

Scripts with arguments

2003-08-29 Thread Enrique Andreu
Hello. I have to do an script to create MySQL users, the name of the new user have to be a parameter of the script. I have no idea, someone can helps me. I'm an NT user. Thanks: Enrique Andreu ___ Yahoo! Messenger - Nueva versiĆ³n GRATIS Super We