Sunteți pe pagina 1din 29

MySQL Tables Relational databases use tables to store data.

All operations on data are done on the tables themselves or produce another table as the result. A table is a set of rows and columns, and their intersections are fields. From a general perspective, columns within a table describe the name and type of data that will be found by row for that column's fields. Rows within a table represent records composed of fields that are described from left to right by their corresponding column's name and type. Each field in a row is implicitly correlated with each other field in that row.

Just simply click to open an object pane for Table. A right-click displays the popup menu or using the object pane toolbar, allowing you to create new, edit, open and delete the selected table. Create Table To create a new table

Select anywhere on the object pane. Click the New Table from the object pane toolbar. or Right-click and select New Table from the popup menu. Edit table properties and fields on the appropriate tabs of the Table Designer. Hint: To create new table you can also right-click the Tables node of the navigation pane and select the New Table from the popup menu.

To create a new table with the same properties as one of the existing tables has (using popup menu) Apply to: current database {same connection}

Select the table(s) for copying in the navigation pane/object pane. Right-click and select the Duplicate Table from the popup menu. The newly created table(s) will be named as "tablename_copy".

To create a new table with the same properties as one of the existing tables has (using drag and drop method) Apply to: current database {same connection}

Select the table(s) for copying in the navigation pane/object pane. Right-click and drag the chosen table(s) to the target location. Select one of the following options: o Copy here (Structure and Data) o Copy here (Structure only) o Move here o Cancel The newly created table(s) will be named as "tablename_copy"

Apply to: different database {same connection}

different database {different connection (same or cross server type)} (Data Transfer tool will be activated) Select the table(s) for copying in the object pane. Drag and drop the chosen table(s) to the target database. Select one of the following options:
o o o

Copy here (Structure and Data) Copy here (Structure only) Cancel

To create a new table with modification as one of the existing tables


Select the table for modifying in the navigation pane/object pane. Right-click and select the Design Table from the popup menu. or Click the Design Table from the object pane toolbar. Modify table properties and fields on the appropriate tabs of the Table Designer. Click Save As.

Create Table Shortcut To create a table shortcut


Select the table for editing in the navigation pane/object pane. Right-click and select Create Open Table Shortcut... from the popup menu. Define the location you wish your shortcut to be saved. Note: This option is used to provide a convenient way for you to open your table for entering data directly (Grid View/Form View) without activating the main Navicat.

Edit Table To edit the existing table (manage its fields, indexes, foreign keys and triggers etc)

Select the table for editing in the navigation pane/object pane. Right-click and select the Design Table from the popup menu. or Click the Design Table from the object pane toolbar. Edit table properties and fields on the appropriate tabs of the Table Designer.

To change the name of the table

Select the table for editing in the navigation pane/object pane. Right-click and select the Rename from the popup menu.

Open Table (manage table data) To open a table


Select the table for opening in the navigation pane/object pane. Right-click and select the Open Table from the popup menu or simply double-click the table. or Click the Open Table from the object pane toolbar. Note: This option is only applied if you do wish Navicat loads all your images while opening the table. To open the graphical table with faster performance, use Open Table (Quick) below.

To open a table with graphical fields


Select the table for opening in the navigation pane/object pane. Right-click and select the Open Table (Quick) from the popup menu. Note: Faster performance for opening the graphical table, as BLOB fields (images) will not be loaded until you click on the cell.

Empty Table To empty a table


Select the table in the navigation pane/object pane. Right-click the selected table and choose Empty Table from the popup menu. Note: This option is only applied when you wish to clear all the existing records without resetting the auto-increment value. To reset the auto-increment value while emptying your table, use Truncate Table below.

Truncate Table To truncate a table

Select the table in the navigation pane/object pane.

Right-click the selected table and choose Truncate Table from the popup menu.

Delete Table To delete a table


Select the table for deleting in the navigation pane/object pane. Right-click and select the Delete Table from the popup menu. or Click the Delete Table from the object pane toolbar. Confirm deleting in the dialog window.

MySQL Views

Views (including updatable views) are implemented in MySQL Server 5.0 and available in binary releases from 5.0.1 and up. Views are useful for allowing users to access a set of relations (tables) as if it were a single table, and limiting their access to just that. Views can also be used to restrict access to rows (a subset of a particular table). For access control to columns, you can also use the sophisticated privilege system in MySQL Server. Just simply click to open an object pane for View. A right-click displays the popup menu or using the object pane toolbar, allowing you to create new, edit, open and delete the selected view. Create View To create a new view

Select anywhere on the object pane. Click the New View from the object pane toolbar. or Right-click and select New View from the popup menu. Edit view properties on the appropriate tabs of the View Designer. Hint: To create new view you can also right-click the Views node of the navigation pane and select the New View from the popup menu.

To create a new view with the same properties as one of the existing views has (using drag and drop method) Apply to: current database {same connection} Select the view(s) for copying in the navigation pane/object pane. Right-click and drag the chosen view(s) to the target location. Select one of the following options: o Copy here (Structure and Data) o Copy here (Structure only) o Move here o Cancel The newly created view(s) will be named as "viewname_copy".

Apply to:

different database {same connection} different database {different connection} (Data Transfer tool will be activated) Select the view(s) for copying in the object pane. Drag and drop the chosen view(s) to the target database. Select one of the following options:
o o o

Copy here (Structure and Data) Copy here (Structure only) Cancel

To create a new view with modification as one of the existing views


Select the view for modifying in the navigation pane/object pane. Right-click and select the Design View from the popup menu. or Click the Design View from the object pane toolbar. Modify view properties on the appropriate tabs of the View Designer. Click Save As.

To create a new view with loading from a SQL file

Select anywhere on the object pane. Click the New View from the object pane toolbar. or Right-click and select New View from the popup menu. Click Load.

Create View Shortcut To create a view shortcut


Select the view for editing in the navigation pane/object pane. Right-click and select Create Open View Shortcut... from the popup menu. Define the location you wish your shortcut to be saved. Note: This option is used to provide a convenient way for you to open your view for entering data directly (Grid View/Form View) without activating the main Navicat.

Edit View To edit the existing view (manage its SQL definition etc)

Select the view for editing in the navigation pane/object pane. Right-click and select the Design View from the popup menu. or Click the Design View from the object pane toolbar. Edit view properties on the appropriate tabs of the View Designer.

To change the name of the view


Select the view for editing in the navigation pane/object pane. Right-click and select the Rename from the popup menu.

Open View To open a view (manage view data)

Select the view for opening in the navigation pane/object pane.

Right-click and select the Open View from the popup menu or simply double-click the view. or Click the Open View from the object pane toolbar.

Delete View To delete a view


Select the view for deleting in the navigation pane/object pane. Right-click and select the Delete View from the popup menu. or Click the Delete View from the object pane toolbar. Confirm deleting in the dialog window.

MySQL Functions/Procedures
Stored routines (procedures and functions) are supported in MySQL 5.0. A stored routine is a set of SQL statements that can be stored in the server. Once this has been done, clients do not need to keep reissuing the individual statements but can refer to the stored routine instead. Just simply click to open an object pane for Function. A right-click displays the popup menu or using the object pane toolbar, allowing you to create new, edit and delete the selected function/procedure. Create Function/Procedure To create a new function/procedure

Select anywhere on the object pane. Click the New Function from the object pane toolbar. or Right-click and select New Function from the popup menu. Edit function/procedure properties on the appropriate tabs of the Function/Procedure Designer.

Hint: To create new function/procedure you can also right-click the Function node of the navigation pane and select the New Function from the popup menu. To create a new function/procedure with the same properties as one of the existing function/procedure has (using drag and drop method) Apply to: current database {same connection}

Select the function/procedure(s) for copying in the navigation pane/object

pane. Right-click and drag the chosen function/procedure(s) to the target location. Select one of the following options: o Copy here (Structure and Data) o Copy here (Structure only) o Move here o Cancel The newly created function/procedure(s) will be named as "function/procedurename_copy".

Apply to: different database {same connection} different database {different connection} (Data Transfer tool will be activated) Select the function/procedure(s) for copying in the object pane. Drag and drop the chosen function/procedure(s) to the target database. Select one of the following options:
o o o

Copy here (Structure and Data) Copy here (Structure only) Cancel

To create a new function/procedure with modification as one of the existing function/procedure


Select the function/procedure for modifying in the navigation pane/object pane. Right-click and select the Design Function from the popup menu or simply doubleclick the function/procedure. or Click the Design Function from the object pane toolbar. Modify function/procedure properties on the appropriate tabs of the Function/Procedure Designer.

Click

Save As.

Edit Function/Procedure To edit the existing function/procedure (manage its definition etc)

Select the function/procedure for editing in the navigation pane/object pane. Right-click and select the Design Function from the popup menu or simply doubleclick the function/procedure. or Click the Design Function from the object pane toolbar. Edit function/procedure properties on the appropriate tabs of the Function/Procedure Designer.

To change the name of the function/procedure


Select the function/procedure for editing in the navigation pane/object pane. Right-click and select the Rename from the popup menu.

Run Function/Procedure To run a function/procedure in the navigation pane/object pane


Select the function/procedure for executing in the navigation pane/object pane. Click the Execute Function from the object pane toolbar. or Right-click and select Execute Function from the popup menu. View/edit the returned data on the Result tab.

To run a function/procedure in the Function/Procedure Designer


Create a new function/procedure/open the existing function/procedure. Click Run. View/edit the returned data on the Result tab.

Delete Function/Procedure To delete a function/procedure

Select the function/procedure for deleting in the navigation pane/object pane.

Right-click and select the Delete Function from the popup menu. or Click the Delete Function from the object pane toolbar. Confirm deleting in the dialog window.

MySQL Events
MySQL Event Scheduler was added in MySQL 5.1.6. MySQL Events are tasks that run according to a schedule. Therefore, we sometimes refer to them as scheduled events. When you create an event, you are creating a named database object containing one or more SQL statements to be executed at one or more regular intervals, beginning and ending at a specific date and time. Conceptually, this is similar to the idea of the Windows Task Scheduler.

Just simply click to open an object pane for Event. A right-click displays the popup menu or using the object pane toolbar, allowing you to create new, edit and delete the selected event. Create Event To create a new event

Select anywhere on the object pane. Click the New Event from the object pane toolbar. or Right-click and select New Event from the popup menu. Edit event properties on the appropriate tabs of the Event Designer. Hint: To create new event you can also right-click the Event node of the navigation pane and select the New Event from the popup menu.

To create a new event with the same properties as one of the existing event has (using drag and drop method) Apply to: current database {same connection} Select the event(s) for copying in the navigation pane/object pane.

Right-click and drag the chosen event(s) to the target location. Select one of the following options: o Copy here (Structure and Data) o Copy here (Structure only) o Move here o Cancel The newly created event(s) will be named as "eventname_copy".

Apply to:

different database {same connection} different database {different connection} (Data Transfer tool will be activated) Select the event(s) for copying in the object pane. Drag and drop the chosen event(s) to the target database. Select one of the following options:
o o o

Copy here (Structure and Data) Copy here (Structure only) Cancel

To create a new event with modification as one of the existing event


Select the event for modifying in the navigation pane/object pane. Right-click and select the Design Event from the popup menu or simply double-click the event. or Click the Design Event from the object pane toolbar. Modify event properties on the appropriate tabs of the Event Designer. Click Save As.

Edit Event To edit the existing event (manage its definition etc)

Select the event for editing in the navigation pane/object pane. Right-click and select the Design Event from the popup menu or simply double-click the event. or

Click the Design Event from the object pane toolbar. Edit event properties on the appropriate tabs of the Event Designer.

To change the name of the event


Select the event for editing in the navigation pane/object pane. Right-click and select the Rename from the popup menu.

Delete Event To delete an event


Select the event for deleting in the navigation pane/object pane. Right-click and select the Delete Event from the popup menu. or Click the Delete Event from the object pane toolbar. Confirm deleting in the dialog window.

Queries
A query is used to extract data from the database in a readable format according to the user's request. Navicat provides two powerful tools for working with the SQL queries: Query Editor for editing the query text directly and Query Builder for building queries visually. You can save your queries for setting schedule. Just simply click to open an object pane for Query. A right-click displays the popup menu or using the object pane toolbar, allowing you to create new, edit, open and delete the selected query. Create Query To create a new query in Query Editor

Select anywhere on the object pane. Click the New Query from the object pane toolbar. or Right-click and select New Query from the popup menu.

Edit query text on the Query Editor tab.

To create a new query in Query Builder


Select anywhere on the object pane. Click the New Query from the object pane toolbar. or Right-click and select New Query from the popup menu. Edit query on the Query Builder tab.

To create a new query with loading from a SQL file


Select anywhere on the object pane. Click the New Query from the object pane toolbar. or Right-click and select New Query from the popup menu. Click Load.

Hint: To create new query you can also right-click the Queries node of the navigation pane and select the New Query from the popup menu.

To create a new query with the same properties as one of the existing queries has (using drag and drop method) Apply to: current database {same connection} Select the query(s) for copying in the navigation pane/object pane. Right-click and drag the chosen query(s) to the target location. Select one of the following options: o Copy here o Move here o Cancel The newly created query(s) will be named as "queryname_copy"

Apply to:

different database {same connection}

different database {different connection} Select the query(s) for copying in the object pane. Drag and drop the chosen query(s) to the target database. Select one of the following options:
o o o

Copy here Move here Cancel

To create a new query with modification as one of the existing queries


Select the query for modifying in the navigation pane/object pane. Right-click and select the Design Query from the popup menu. or Click the Design Query from the object pane toolbar. Modify query on the Query Editor/Query Builder tab. Click Save As.

Hint: Queries(.sql) are saved under the Settings Save Path. Edit Query To edit the existing query

Select the query for editing in the navigation pane/object pane. Right-click and select the Design Query from the popup menu. or Click the Design Query from the object pane toolbar. Modify query on the Query Editor/Query Builder tab.

To change the name of the query


Select the query for editing in the navigation pane/object pane. Right-click and select the Rename from the popup menu.

Open Query To open a query (manage query data)

Select the query for opening in the navigation pane/object pane.

Right-click and select the Open Query from the popup menu or simply double-click the query. or Click the Open Query from the object pane toolbar.

Note: Only SELECT queries will be run automatically with results being displayed on Result tab. Run Query To run a query

Create a new query/open the existing query. Click Run. (Click Stop to terminate the running) View/edit the returned data on the Result tab.

To run a saved query from the command line (set schedule)


Create and save the query. In terminal, type the command (see Command for details)

Delete Query To delete a query


Select the query for deleting in the navigation pane/object pane. Right-click and select the Delete Query from the popup menu. or Click the Delete Query from the object pane toolbar. Confirm deleting in the dialog window.

Data Management Tools


Navicat provides a number of powerful tools for working with the databases. The following tools are available: Import Wizard Imports data from DBF, TXT, CSV, HTML, Excel, Access, XML, ODBC and more.

Export Wizard Exports data to various formats, including DBF, TXT, CSV, HTML, Word, Excel, Access, XML, RTF and more. Data Transfer Transfers tables/views/procedures/functions/sequences/events between databases/schemas or to plain text file. Data Synchronization Synchronizes data in different databases/schemas to be kept up-to-date so that each repository contains the same information. Structure Synchronization Compares the structure of two similar databases/schemas and produces a set of alter statements for MySQL, Oracle, PostgreSQL and SQL Server. Backup/Restore Allows you to backup/restore your databases/schemas for MySQL, PostgreSQL and SQLite. Batch Job/Schedule Allows you to schedule a batch job which being executed at a specified time and support email notification service. Console Provides interactive text-based screen for user query input and result output from MySQL, Oracle, PostgreSQL, SQLite and SQL Server. Dump SQL File Dumps database/schema/table(s) to SQL file. Execute SQL File Executes SQL file. Print Structure Prints database/schema/table structure. Log Files Keeps track on the actions (e.g. SQL statements being executed) which have been performed in Navicat.

Report Management Tools (Available only in Navicat Premium and Enterprise Version)
Just simply click to open an object pane for Report. A right-click displays the popup menu or using the object pane toolbar, allowing you to create new, view, edit and delete the selected report. You can save your reports for setting schedule. Create Report To create a new report

Select anywhere on the object pane. Click the New Report from the object pane toolbar. or Right-click and select New Report from the popup menu. Edit report on the appropriate tabs of the Report Builder. Hint: To create new report you can also right-click the Reports node of the navigation pane and select the New Report from the popup menu.

To create a new report with the same properties as one of the existing reports has (using popup menu) Apply to: current database {same connection} Select the report(s) for copying in the navigation pane/object pane. Right-click and select the Copy from the popup menu. Select anywhere on the object pane. Right-click and select the Paste from the popup menu. The newly created report(s) will be named as "reportname Copy".

To create a new report with the same properties as one of the existing reports has (using drag and drop method) Apply to: current database {same connection} Select the report(s) for copying in the navigation pane/object pane. Right-click and drag the chosen report(s) to the target location. Select one of the following options: o Copy here o Move here o Cancel The newly created report(s) will be named as "reportname Copy"

Apply to:

different database {same connection} different database {different connection} Select the report(s) for copying in the navigation pane/object pane. Right-click and drag the chosen report(s) to the target location. Select one of the following options: o Copy here o Move here o Cancel

To create a new report with modification as one of the existing reports


Select the report for modifying in the navigation pane/object pane. Right-click and select the Design Report from the popup menu. or Click the Design Report from the object pane toolbar. Modify report on the appropriate tabs of the Report Builder. Click Save As.

Edit Report

To edit the existing report


Select the report for editing in the navigation pane/object pane. Right-click and select the Design Report from the popup menu. or Click the Design Report from the object pane toolbar. Modify report on the appropriate tabs of the Report Builder.

To change the name of the report


Select the report for editing in the navigation pane/object pane. Right-click and select the Rename from the popup menu.

View Report To view a report


Select the report for viewing in the navigation pane/object pane. Right-click and select the Open Report from the popup menu or simply double-click the report. or Click the Open Report from the object pane toolbar.

To view an archive report

Right-click anywhere on the object pane and select the Open Report Archive from the popup menu. or Click the Open Report Archive from the object pane toolbar. Browse your archive file.

Print Report (set schedule) To print a report (using popup menu)


Select the report for printing in the navigation pane/object pane. Right-click and select Print Report from the popup menu.

To print a report from the command line

Create and save the report.

In terminal, type the command (see Command for details)

Print Report to File (set schedule) To print report to file (using popup menu - PDF and HTML)

Select the report for printing in the navigation pane/object pane. Right-click and select one of the options from the popup menu. o Print Report As Pdf o Print Report As HTML

To print report to file (setting under Report Tree windows - Text/Report Emulation Text, PDF, Excel, HTML/XHTML, RTF etc.) Hint: AllowPrintToFile must be enabled in Report Tree windows to show a list of file formats that Report Builder supports.

Select the report for printing in the navigation pane/object pane. Right-click and select the Design Report from the popup menu. or Click the Design Report from the object pane toolbar. In Report Tree windows, enable AllowPrintToFile under Output File section. Choose the file type you wish to print in the Print Dialog.

Hint: AllowPrintToArchive must be enabled in Report Tree windows.


Select the report for printing in the navigation pane/object pane. Right-click and select the Design Report from the popup menu. or Click the Design Report from the object pane toolbar. In Report Tree windows, enable AllowPrintToArchive under Output - File section. Choose Archive File in the Print Dialog.

Delete Report To delete a report

Select the report for deleting in the navigation pane/object pane. Right-click and select the Delete Report from the popup menu. or Click the Delete Report from the object pane toolbar. Confirm deleting in the dialog window.

General Options
Windows in taskbar Every new window that is opened automatically is shown on the Windows Taskbar. With this option is disabled, all instances (e.g. tables, queries) will be closed while main Navicat exits. Hint: Reopen Navicat to take effect. Allow Multiple Form Instances With this option is on, you allow opening multiple instances of the same selected window. Allow Multiple Navicat Instances Unchecking this item means that clicking on the Navicat shortcut will reactivate the running instance of Navicat and not launch a new copy. Click to refresh Refreshes the object pane list whenever you click on the objects. Show function wizard Displays the function wizard (MySQL, Oracle, PostgreSQL or SQL Server) when you create a new function/procedure. Ask to save new queries/profiles before closing With this option is on, Navicat will prompt you to save new queries or profiles every time when you quit the relevant sub-window.

Navicat Premium Commands:


Start Navicat from command line: File Extensions Navicat.exe /backup mysql compressed ConnectionName (.psc), DatabaseName uncompressed Navicat.exe /backup pgsql (.psb) MySQL, ConnectionName Backup PostgreSQL DatabaseName and SQLite SchemaName Navicat.exe /backup sqlite ConnectionName DatabaseName ProfileName Navicat.exe /backupserver mysql ConnectionName MySQL, Navicat.exe /backupserver Backup Server PostgreSQL pgsql ConnectionName and SQLite Navicat.exe /backupserver sqlite ConnectionName Backup MySQL, Navicat.exe Database PostgreSQL /backupdatabase mysql and SQLite ConnectionName DatabaseName Navicat.exe /backupdatabase pgsql ConnectionName DatabaseName Navicat.exe /backupdatabase sqlite Command Lines Navicat Objects Server Type

Backup Profile

Import

Export Table

ConnectionName DatabaseName Navicat.exe /backupprofile mysql ConnectionName DatabaseName ProfileName Navicat.exe /backupprofile MySQL, pgsql ConnectionName PostgreSQL DatabaseName and SQLite SchemaName ProfileName Navicat.exe /backupprofile sqlite ConnectionName DatabaseName ProfileName Navicat.exe /import mysql ConnectionName .npi DatabaseName ProfileName Navicat.exe /import ora ConnectionName .nopi SchemaName ProfileName Navicat.exe /import pgsql ConnectionName .nppi All DatabaseName SchemaName ProfileName Navicat.exe /import sqlite ConnectionName .nlpi DatabaseName ProfileName Navicat.exe /import mssql ConnectionName .nspi DatabaseName SchemaName ProfileName All Navicat.exe /export mysql .npe ConnectionName DatabaseName ProfileName

Export View Result

All

Export Materialized View Result

Oracle

Navicat.exe /export ora ConnectionName SchemaName ProfileName Navicat.exe /export pgsql ConnectionName DatabaseName SchemaName ProfileName Navicat.exe /export sqlite ConnectionName DatabaseName ProfileName Navicat.exe /export mssql ConnectionName DatabaseName SchemaName ProfileName Navicat.exe /exportview mysql ConnectionName DatabaseName ProfileName Navicat.exe /exportview ora ConnectionName SchemaName ProfileName Navicat.exe /exportview pgsql ConnectionName DatabaseName SchemaName ProfileName Navicat.exe /exportview sqlite ConnectionName DatabaseName ProfileName Navicat.exe /exportview mssql ConnectionName DatabaseName SchemaName ProfileName Navicat.exe /exportmview ora ConnectionName SchemaName ProfileName

.nope

.nppe

.nlpe

.nspe

.npev

.nopev

.nppev

.nlpev

.nspev

.nopem

Export Query Result

All

Query ExecutionAll

Navicat.exe /exportquery mysql ConnectionName DatabaseName ProfileName Navicat.exe /exportquery ora ConnectionName SchemaName ProfileName Navicat.exe /exportquery pgsql ConnectionName DatabaseName SchemaName ProfileName Navicat.exe /exportquery sqlite ConnectionName DatabaseName ProfileName Navicat.exe /exportquery mssql ConnectionName DatabaseName SchemaName ProfileName Navicat.exe /query mysql ConnectionName DatabaseName QueryName Navicat.exe /query ora ConnectionName SchemaName QueryName Navicat.exe /query pgsql ConnectionName DatabaseName SchemaName QueryName Navicat.exe /query sqlite ConnectionName DatabaseName QueryName Navicat.exe /query mssql ConnectionName DatabaseName

.npeq

.nopeq

.nppeq

.nlpeq

.nspeq .sql

Data Transfer

All

Data All Synchronization

Batch Jobs Print Report

All All

SchemaName QueryName Navicat.exe /datatransfer .npt mysql ProfileName Navicat.exe /datatransfer .nopt ora ProfileName Navicat.exe /datatransfer .nppt pgsql ProfileName Navicat.exe /datatransfer .nlpt sqlite ProfileName Navicat.exe /datatransfer .nspt mssql ProfileName Navicat.exe /datatransfer .napt premium ProfileName Navicat.exe /datasync .npd mysql ProfileName Navicat.exe /datasync ora .nopd ProfileName Navicat.exe /datasync .nppd pgsql ProfileName Navicat.exe /datasync .nlpd sqlite ProfileName Navicat.exe /datasync .nspd mssql ProfileName Navicat.exe /batchjob .npj BatchJobName Navicat.exe /report mysql .rtm ConnectionName DatabaseName ReportName Param1 Param2 Navicat.exe /report ora ConnectionName SchemaName ReportName Param1 Param2 Navicat.exe /report pgsql ConnectionName

DatabaseName SchemaName ReportName Param1 Param2 Navicat.exe /report sqlite ConnectionName DatabaseName ReportName Param1 Param2 Navicat.exe /report mssql ConnectionName DatabaseName SchemaName ReportName Param1 Param2 Note: Param1 - file type: pdf, htmlfile or excelfile Param2 - printer name or target file path, e.g. C:\Users\user1\Desktop\test1.pdf above Navicat for MySQL Start Navicat from command line: Navicat Objects Backup Command Lines File Extensions

Navicat.exe /backup ConnectionName DatabaseName Navicat.exe /backupserver Backup Server ConnectionName Backup Navicat.exe /backupdatabase Database ConnectionName DatabaseName Navicat.exe /backupprofile Backup Profile ConnectionName DatabaseName ProfileName Import Navicat.exe /import ConnectionName

compressed (.psc), uncompressed (.psb)

.npi

DatabaseName ProfileName Navicat.exe /export ConnectionName Export Table DatabaseName ProfileName Navicat.exe /exportview Export View ConnectionName DatabaseName Result ProfileName Navicat.exe /exportquery Export Query ConnectionName DatabaseName Result ProfileName Navicat.exe /query ConnectionName Query Execution DatabaseName QueryName Data Transfer Navicat.exe /datatransfer ProfileName Data Navicat.exe /datasync ProfileName Synchronization Batch Jobs Navicat.exe /batchjob BatchJobName Navicat.exe /report ConnectionName Print Report DatabaseName ReportName Param1 Param2 Note: Param1 - file type: pdf, htmlfile or excelfile Param2 - printer name or target file path, e.g. C:\Users\user1\Desktop\test1.pdf

.npe .npev

.npeq .sql .npt .npd .npj .rtm

S-ar putea să vă placă și