
Alternatively, you can proceed to the Connection Manager and use the Import connections from file icon. NOTE: This link is only present when the Connection Manager is empty. Prerequisites: Be sure you have access to both the encrypted connections file and the password. Now, click on the Database -> Connect to Database option as shown in the below image.After exporting your Workbench connections to a secure file, you can use them with Workbench on a new machine. Then finally click on the OK button as shown in the below window which will be successfully created a new connection for the new user. Simply click on the OK button from the above popup. If the connection is successful, then you will get the following message. You can also check the test connection by clicking on the Test Connection button. Once you click on the OK button, it will take you back to the previous window.
#Mysql workbench export connections password
Here, enters the password which you have set for the testuser and click on the OK button as shown in the below image.

Once you click on the Store in Vault to set the password, it will open the below Enter Password window. Then click on the Store in Vault to set the password as shown in the below image. testuser is the username that we have just created. In the username text box, type the username i.e. The hostname value can be localhost or the local IP address that is 127.0.0.1 and I am provided the port number as 3306. I provided the Connection Name as TestConnection.

Here, you need to give a name to your connection in the Connection Name text box. Once you click on the + symbol, it will open the below Setup new Connection window. In order to create a new connection in MySQL, click on the + symbol which appeared next to the MySQL Connections as shown in the below image. Now close MySQL workbench and try to login again using the new user i.e. Finally, click on the Apply button to save the new user as shown in the below image. Then select the Schema Privileges tab and using this tab, you can also restrict or allow the new users to access certain databases or schemas. ‘Database Administrative’ (DBA) has all the permission.

Then select the Administrative Roles tab and in this tab, we can allow or disallow certain privileges to the new user as shown in the below image.

Then select the Account Limits tab and using this tab we can limit the users to maximum queries, Maximum updates, Maximum connections, and Concurrent Connections. Here, I am providing the Login Name as testuser and password as test2123 as shown in the below image. the user name as well as we need to provide the password and confirm the password for the new user. Here, we need to provide the Login Name i.e. Once you click on the ‘ Add Account’ button to add a new user, it will open the below window to enter the new user details. In order to add a new user, click on the ‘ Add Account’ button as shown in the below image. On this window, in the center screen, you can see the current users for your MySQL database server. Once you click on the ‘ Users and Privileges’ link it will open the below window. Open the ‘ Users and Privileges’ window by clicking the link as shown in the below image. Once you are logged in to the MySQL Database Server, in the left-hand window, under the ‘ MANAGEMENT’ menu, there is a link for ‘ Users and Privileges’. Data Structures and Algorithms Tutorialsįirst, log in to the MySQL Server using root user.
