Presentation is loading. Please wait.

Presentation is loading. Please wait.

Present :Arezoo Mollahasani. Step 1  Define your server connection Open MySQL WorkBench and click New Server Instance on the right of the window.

Similar presentations


Presentation on theme: "Present :Arezoo Mollahasani. Step 1  Define your server connection Open MySQL WorkBench and click New Server Instance on the right of the window."— Presentation transcript:

1 Present :Arezoo Mollahasani

2 Step 1  Define your server connection Open MySQL WorkBench and click New Server Instance on the right of the window.

3 Step 2  The Create New Server Instance Profile window will appear. Select Remote Host, enter the IP address of your database server in the Address text field, and click Next.

4 Step 3  On this page enter the following details: Connection name: Enter a name to allow you to easily identify the database. Connection method: Ensure Standard (TCP/IP) is selected. Hostname: The IP address of the MySQL database server you have been allocated. Port: 3306. Username: The username of your database owner as chosen during your MySQL setup. Default Schema: Enter the name of your database

5 Step 4  Enter your database password when prompted.

6 Step 5  MySQL Workbench will test the connection to your database using the details you entered. When the test is complete click Next.

7 Step 6  Select Do not use remote management and click Next.

8 Step 7 Enter a name in the Server Instance Name field to help you easily identify this database, and click Finish. You have successfully set up a server instance, which you can use to administer the server, and a connection which stores the database connection details.

9  Backup your database MySQL Workbench can export a backup of your database to a file on your local computer. This is also sometimes referred to as a data dump. Step 1 Click Manage Import / Export under Server Administration on the right of the Workbench window. If you can't see this option, make sure the Home tab is selected.

10 Step 2  Select your database and click OK

11 Step 3  Enter your database password if prompted. Step4  Select the Export to Disk tab.

12 Step 5  In the Select Database Objects to Export section, select your database by checking the relevant box in the Export column.

13 Step 6  Select the tables you wish to export. Click Select All Tables if you would like to export the contents of your entire database.

14 Step 7  Choose where you would like to save your database backup. There are two options available: Export to Dump Project Folder: MySQL Workbench will create a separate backup file for each table in your database, which will make it possible to store selected tables in the future without the need to restore the entire database. Export to Self-Contained File: All selected tables will be exported to one single SQL file. Select a location to save your backup.

15 Step 8  Click Start Export and enter the database password if prompted.

16 Restore your database from a previous backup Step 1 Click Manage Import / Export under Server Administration on the right of the Workbench window. If you cannot see this option, make sure the Home tab is selected.

17 Step 2  Select your database and click OK.

18 Step 3  Enter your database password if prompted.

19 Step 4  Select the Import from Disk tab.

20 Step 5  When you created the backup you were presented with the option to export your database tables to a folder or a single self-contained file. This step will differ depending on which option you chose. Import from Dump Project Folder Select Import from Dump Project Folder and enter the location in the Folder Path text field. Click Load Folder Contents.

21  Select which tables from the backup you would like to restore.  import from Self-Contained File Select Import from Self-Contained File and enter the location in the File Path text field.

22 Step 6 Click Start Import and enter the database password if prompted. This process may take several minutes depending on the size of your database backup. Date Created 27/07/2010 10.18 AM Date Updated 17/04/2014 09.13 AM

23 Step1 back up workbench6  Click Data Export under the Server tab.

24 step2  In the left pane, select your database by ticking the checkbox next to it.

25 step3  From the right hand pane, select the tables that you want to include in your export.

26 step4  Choose where you would like to save your database backup. There are two options available: Export to Dump Project Folder: MySQL Workbench will create a separate backup file for each table in your database, which will make it possible to store selected tables in the future without the need to restore the entire database. Export to Self-Contained File: All selected tables will be exported to one single SQL file.

27 step5  Click Start Export and enter the database password if prompted.

28 Restore your database from a previous backup Step 1  Select the database you want to import data in to.

29 Step 2  Click Data Import under the Server tab.

30 step3  Enter your database password if prompted.

31 step4  When you created the backup you were presented with the option to export your database tables to a folder or a single self-contained file. This step will differ depending on which option you chose.

32 step5  Import from Dump Project Folder Select Import from Dump Project Folder and enter the location in the Folder Path text field. Click Load Folder Contents.

33  Select which tables from the backup you would like to restore.

34  Import from Self-Contained File  Select Import from Self-Cntained File and enter the location in the File Path text field.

35 step6  Click Start Import and enter the database password if prompted. This process may take several minutes depending on the size of your database backup. Date Created 31/10/2013 03.06 PM  Date Updated 25/03/2014 09.12 AM

36 The end


Download ppt "Present :Arezoo Mollahasani. Step 1  Define your server connection Open MySQL WorkBench and click New Server Instance on the right of the window."

Similar presentations


Ads by Google