WordPress Manual Upgrade for Experts: Difference between revisions

mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 26: Line 26:
===Database===
===Database===
For the database, use the mySQL (MariaDB, etc.) command line or phpMyAdmin.  phpMyAdmin makes it much easier.  Select the database in the left pane, Export Tab, "Simple" Radio Button, Go Button, save it to a file, done.
For the database, use the mySQL (MariaDB, etc.) command line or phpMyAdmin.  phpMyAdmin makes it much easier.  Select the database in the left pane, Export Tab, "Simple" Radio Button, Go Button, save it to a file, done.
For the command line;
* Export: mysqldump -u WhatEverUserName -p <mark>WhatEverDataBaseName</mark> > WhatEverFileName<mark>.sql</mark>
* Create
** CREATE DATABASE WhatEverDatabaseName;
** GRANT ALL ON WhatEverDatabaseName.* TO 'WhatEverUserName'@'localhost' IDENTIFIED BY 'WhatEverPassword';
** FLUSH PRIVILEGES;
* Import: mysql -u WhatEverUserName-p WhatEverDatabaseName< <mark>WhatEverFileName.sql</mark>
<br />


===Other Thoughts===
===Other Thoughts===
Line 69: Line 80:
cp -ax WhatEverExtension WhatEverExtension.BackUp
cp -ax WhatEverExtension WhatEverExtension.BackUp
</syntaxhighlight>
</syntaxhighlight>
===Database===
The website database may also need to be updated.  Navigate to: https://www.riseofthesaltonsea.com/wp-admin/upgrade.php and it will prompt to update the database if necessary.


==Final Thoughts==
==Final Thoughts==