This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
computing:migratewp [2022/07/31 17:48] – oemb1905 | computing:migratewp [2022/07/31 17:50] – oemb1905 | ||
---|---|---|---|
Line 42: | Line 42: | ||
EXIT; | EXIT; | ||
| | ||
- | Now that you have created a temporary database and database user with full privileges, it is time to import the backup. | + | Now that you have created a temporary database and database user with full privileges, it is time to import the backup. The second command is what I used on some temperamental instance. The first command below is simple enough and should work. I retain both just in case an instance talks back to me. |
- | mysql -u newdatabaseuser | + | mysql -u tempuser -p temp < / |
+ | mysql -u tempuser | ||
Once it finishes, log into the mysql command mode and verify the original databases made it over: | Once it finishes, log into the mysql command mode and verify the original databases made it over: |