Your DrCloudEHR database uses MySQL Server 5.6.47 as the database service. You can use the MySQL Workbench to perform administration operations on your DrCloudEHR database, including backing up and restoring the database.

Download the MySQL Workbench

Click here to download the MySQL Workbench. MySQL Workbench 8.0 is the current release, and works with all MySQL Server 5.6.x versions.

Connect to the DrCloudEHR Database

  1. Open MySQL Workbench and then select Manage Connections from the Database menu.
  2. Click the New button at the bottom of the window.
  3. Enter the connection properties:

    PropertyDescription
    Connection NameEnter a meaningful name.
    Connection MethodLeave this set to Standard (TCP/IP).
    HostnameEnter the IP address for the database server.
    UsernameEnter the database user name.
    PasswordSelect Store in Vault and enter the database user password in the prompt that appears.


  4. Click Test Connection to verify the connection.

Back Up the Database

  1. Log in to MySQL Workbench.
  2. Click the Server tab, and then click Data Export .
  3. Click the Object Selection tab, and then select the checkbox for your database. Enter your database user password if prompted.
  4. Choose where you would like to save your database backup. 

  5. Click Start Export. Enter your database password if prompted.

Restore the Database

  1. Select the database to import the backed up data to in the MySQL Connections window.
  2. Click the Server tab, and then select Data Import.
  3. Import the data. The process you follow will depend on the backup option you selected.
  4. Click Start Import. Enter your database password if prompted.