Before you can connect to a database, you must create a server connection.
To create a connection:
On the Database menu, click New Connection. The Database Connection Properties dialog box opens.
In the Host box, enter the host name.
In the Port box, enter the port information. The default port number is 3306.
Enter the login credentials in the User and Password text boxes.
Select an existing database from the Database drop-down menu.
In the Connection Name text box, the connection name should be generated automatically from the host name. You can create a distinctive name for your new connection.
(optional) You can assign a document category to a new connection.
(optional) You can click Advanced to configure advanced connection properties.
(optional) Click the Test Connection button to verify the connection.
Click OK to create the connection.