Skip to content

Commit 199c9b0

Browse files
authored
Merge pull request #42770 from HJToland3/master
numbered steps
2 parents f7a9832 + 1596430 commit 199c9b0

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

articles/mysql/concepts-migrate-dump-restore.md

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: kfile
88
editor: jasonwhowell
99
ms.service: mysql-database
1010
ms.topic: article
11-
ms.date: 06/01/2018
11+
ms.date: 06/02/2018
1212
---
1313

1414
# Migrate your MySQL database to Azure Database for MySQL using dump and restore
@@ -71,7 +71,6 @@ To select specific tables in your database to back up, list the table names sepa
7171
```bash
7272
$ mysqldump -u root -p testdb table1 table2 > testdb_tables_backup.sql
7373
```
74-
7574
To back up more than one database at once, use the --database switch and list the database names separated by spaces.
7675
```bash
7776
$ mysqldump -u root -p --databases testdb1 testdb3 testdb5 > testdb135_backup.sql
@@ -105,21 +104,21 @@ $ mysql -h mydemoserver.mysql.database.azure.com -u myadmin@mydemoserver -p test
105104

106105
## Export using PHPMyAdmin
107106
To export, you can use the common tool phpMyAdmin, which you may already have installed locally in your environment. To export your MySQL database using PHPMyAdmin:
108-
- Open phpMyAdmin.
109-
- Select your database. Click the database name in the list on the left.
110-
- Click the **Export** link. A new page appears to view the dump of database.
111-
- In the Export area, click the **Select All** link to choose the tables in your database.
112-
- In the SQL options area, click the appropriate options.
113-
- Click the **Save as file** option and the corresponding compression option and then click the **Go** button. A dialog box should appear prompting you to save the file locally.
107+
1. Open phpMyAdmin.
108+
2. Select your database. Click the database name in the list on the left.
109+
3. Click the **Export** link. A new page appears to view the dump of database.
110+
4. In the Export area, click the **Select All** link to choose the tables in your database.
111+
5. In the SQL options area, click the appropriate options.
112+
6. Click the **Save as file** option and the corresponding compression option and then click the **Go** button. A dialog box should appear prompting you to save the file locally.
114113

115114
## Import using PHPMyAdmin
116115
Importing your database is similar to exporting. Do the following actions:
117-
- Open phpMyAdmin.
118-
- In the phpMyAdmin setup page, click **Add** to add your Azure Database for MySQL server. Provide the connection details and login information.
119-
- Create an appropriately named database and select it on the left of the screen. To rewrite the existing database, click the database name, select all the check boxes beside the table names, and select **Drop** to delete the existing tables.
120-
- Click the **SQL** link to show the page where you can type in SQL commands, or upload your SQL file.
121-
- Use the **browse** button to find the database file.
122-
- Click the **Go** button to export the backup, execute the SQL commands, and re-create your database.
116+
1. Open phpMyAdmin.
117+
2. In the phpMyAdmin setup page, click **Add** to add your Azure Database for MySQL server. Provide the connection details and login information.
118+
3. Create an appropriately named database and select it on the left of the screen. To rewrite the existing database, click the database name, select all the check boxes beside the table names, and select **Drop** to delete the existing tables.
119+
4. Click the **SQL** link to show the page where you can type in SQL commands, or upload your SQL file.
120+
5. Use the **browse** button to find the database file.
121+
6. Click the **Go** button to export the backup, execute the SQL commands, and re-create your database.
123122

124123
## Next steps
125124
- [Connect applications to Azure Database for MySQL](./howto-connection-string.md).

0 commit comments

Comments
 (0)