Import database SQL scripts in Navicat and execute

1. Open the Navicat database management tool;
insert image description here
2. Click "Tools" on the menu bar, select "Command Line Interface";
insert image description here
open the command line interface
insert image description here
3. Copy the sql script to the command line interface, press enter to execute, You will find the OK return message for successful execution, as shown below:
insert image description here
4. Refresh, otherwise you cannot see the newly added database, data table, and records in the data table
insert image description here
insert image description here

Guess you like

Origin blog.csdn.net/blbyu/article/details/128842332