Find knowledge base article(s) by searching for keywords in the title e.g. type linux in the search box below
Find knowledge base article(s) by browsing the subject categories of articles
Technology quick references, cheatsheets, user manuals etc.
Shop Online through ShopifyLite
Tutorials on various IT applications.
Search Title    (UL:0 |SS:f)

Software >> Services >> RDBMS >> MySQL >> Command Line >> How to run SQL statements directly from command line

assume we have configured .my.cnf to allow mysql to run with automatic login

mysql -e "USE mydb; SELECT * FROM mytable;"

 

 

[ © 2008-2021 myfaqbase.com - A property of WPDC Consulting ]