MySQL Forums
Forum List  »  Newbie

Basic commands
Posted by: Sam Lalonde
Date: June 24, 2005 07:36AM

I know that I can run commands as follows:

Create a file called flush.sql with the following:

FLUSH LOGS;

mysql -u root -p'PASSWORD' < flush.sql

Is there a way for me to just put my commands right in the command line instead of putting them into a file then called that file?

sam

Options: ReplyQuote


Subject
Written By
Posted
Basic commands
June 24, 2005 07:36AM
June 24, 2005 11:13AM
June 25, 2005 10:23AM
June 26, 2005 07:20AM


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.