Here is the example on how to execute query from command line.
mycpdoss:~# mysql -u root -pmycpdoss dbmycpd -e “select * from v_cpd_tfkhidmat limit 5″
usage: mysql -u <username> -p<password> <database name> -e “<query>”
Advertisement
Here is the example on how to execute query from command line.
mycpdoss:~# mysql -u root -pmycpdoss dbmycpd -e “select * from v_cpd_tfkhidmat limit 5″
usage: mysql -u <username> -p<password> <database name> -e “<query>”