Re: Mysql command from the shell

2002-08-20 Thread David BORDAS
IK> hi list IK> Can I also execute mysql commands from the shell. IK> Something like this: IK> % mysql -u root -pmypass --execute=use mydb; select * from mytable; You can do something like this i think : % mysql -u root -pmypass mydb --execute='select * from mytable' David ---

Mysql command from the shell

2002-08-20 Thread Ilyas Keser
hi list Can I also execute mysql commands from the shell. Something like this: % mysql -u root -pmypass --execute=use mydb; select * from mytable; Thanks.. ilyas - Before posting, please check: http://www.mysql.com/manua