This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
computing:migratewp [2019/12/30 02:37] – oemb1905 | computing:migratewp [2022/07/31 17:42] – oemb1905 | ||
---|---|---|---|
Line 11: | Line 11: | ||
------------------------------------------- | ------------------------------------------- | ||
- | This tutorial is designed to step one through how to migrate a self-hosted Word Press site manually. First, | + | This tutorial is designed to step one through how to migrate a mysql database to another host. First, |
sudo -i | sudo -i | ||
Line 41: | Line 41: | ||
EXIT; | EXIT; | ||
CREATE USER ' | CREATE USER ' | ||
- | GRANT ALL PRIVILEGES | + | GRANT ALL ON newdatabase.* TO 'newdatabase' |
| | ||
Now, you need to create databases and grant privileges to the surrogate user for each of them. You do this as follows: | Now, you need to create databases and grant privileges to the surrogate user for each of them. You do this as follows: |