How do I run a MySQL query in Linux?

How do I run a MySQL query in Linux?
Answer
First we’ll login to the MySQL server from the command line with the following command: mysql -u root -p In this case, I’ve specified the user root with the -u flag, and then used the -p flag so MySQL prompts for a password. Enter your current password to complete the login.
 

Tìm kiếm

Back
Top