MySQL/Backup and restore databases: Difference between revisions
< MySQL
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{incomplete|This section is under construction|Incomplete}} | {{incomplete|This page/section is under construction|Incomplete}} | ||
Line 13: | Line 13: | ||
* MySQL Workbench | * MySQL Workbench | ||
* HeidiSQL (MariaDB) | * HeidiSQL (MariaDB) | ||
Common connection details | Common connection details | ||
Line 20: | Line 19: | ||
If you want to create Kodi databases on a new MySQL/MariaDB server, make sure you create the user 'kodi' first, and grant the user full credentials as per Kodi instructions. | If you want to create Kodi databases on a new MySQL/MariaDB server, make sure you create the user 'kodi' first, and grant the user full credentials as per Kodi instructions. | ||
= | =GUI applications= | ||
PHPMyAdmin | PHPMyAdmin | ||
Line 79: | Line 78: | ||
This is a script that can be used either manually or be hung into time-repetitive cron jobs. Log files are created with filenames that have a timestamp built-in, so older backups will not be overwritten. | This is a script that can be used either manually or be hung into time-repetitive cron jobs. Log files are created with filenames that have a timestamp built-in, so older backups will not be overwritten. | ||
Copy the script below into your favorite text-editor and save it as a .sh (bash) file into the location of your chosing, and make the file executable with | Copy the script below into your favorite text-editor and save it as a .sh (bash) file into the location+filename of your chosing, and make the file executable with: | ||
<syntaxhighlight lang="bash" | <syntaxhighlight lang="bash">chmod +x filename.sh</syntaxhighlight>. | ||
Revision as of 09:11, 25 January 2022
![]() |
Incomplete: This page/section is under construction |