Posted in Command Line, Linux Executing SQL Query From Command Line Binny V A January 23, 2009 Leave a Comment on Executing SQL Query From Command Line Print out the result of an SQL query directly from the database using the mysql command mysql -u root Project_Tiker -sNe 'SELECT Task.name FROM Task LIMIT 0,1' Author: Binny V AA philosopher programmer who specializes in backend development and stoicism.