We can use the mysql client to interface with MySQL in terminal or console mode. To enter terminal mode, we would enter something like the following from the command line:
mysql -u russell -p
After entering this, if the MySQL server is running the user will be prompted for a password. Once in terminal mode, SQL statements may be entered to view or to change data.
Re: MySQL in terminal or console mode
We can use the mysql client to interface with MySQL in terminal or console mode. To enter terminal mode, we would enter something like the following from the command line:
mysql -u russell -p
After entering this, if the MySQL server is running the user will be prompted for a password. Once in terminal mode, SQL statements may be entered to view or to change data.