Open Navicat.
Related recommendations: "Navicat User Tutorial"
Click the [Tools] menu and select [Command Line Interface].
At this time, you have entered the mysql command line state.
To display all databases, enter the mysql command: show databases;
To open a database, enter use newdb;
To query the data of a certain table, enter select * from newtable;
The above is the detailed content of How to run navicat from the command line. For more information, please follow other related articles on the PHP Chinese website!