servers:bsd:mariadb
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| servers:bsd:mariadb [2024/10/01 22:24] – Sean Rhone | servers:bsd:mariadb [2025/09/11 06:43] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | * TODO (copy of mysql) | + | ====== Information ====== |
| - | < | + | * MariaDB |
| - | root@Spinesnap: | + | |
| - | Installing | + | |
| - | OK | + | |
| - | To start mariadbd at boot time you have to copy | + | ===== Prerequisites ===== |
| - | support-files/ | + | |
| + | * [[bsd: | ||
| - | Two all-privilege accounts were created. | + | ====== Dependencies ====== |
| - | One is root@localhost, | + | |
| - | be system ' | + | |
| - | The second is root@localhost, | + | |
| - | you need to be the system ' | + | |
| - | After connecting you can set the password, if you would need to be | + | |
| - | able to connect as any of these users with a password and without sudo | + | |
| - | See the MariaDB Knowledgebase at https:// | + | su - |
| - | You can start the MariaDB daemon with: | + | pkg install |
| - | cd '/ | + | |
| - | You can test the MariaDB daemon with mariadb-test-run.pl | + | ====== Settings ====== |
| - | cd '/ | + | |
| - | Please report any problems at https:// | + | su - |
| - | The latest information about MariaDB is available at https://mariadb.org/. | + | ee '/usr/local/ |
| - | Consider joining MariaDB' | + | < |
| - | https:// | + | [client] |
| + | default-character-set = ' | ||
| - | Starting mysql. | + | [mariadb-client] |
| - | </ | + | default-character-set = ' |
| - | service | + | [mariadbd] |
| + | character-set-client-handshake = 'FALSE' | ||
| + | character-set-server | ||
| + | collation-server = ' | ||
| + | init-connect=' | ||
| + | expire_logs_days = ' | ||
| + | max_binlog_size = ' | ||
| + | # | ||
| + | table_definition_cache = ' | ||
| + | |||
| + | # End</ | ||
| + | |||
| + | ====== Service ====== | ||
| + | |||
| + | ===== Initial ===== | ||
| + | |||
| + | su - | ||
| sysrc mysql_enable=" | sysrc mysql_enable=" | ||
| Line 42: | Line 48: | ||
| service ' | service ' | ||
| - | | + | |
| + | |||
| + | su - ' | ||
| + | |||
| + | ===== Status ===== | ||
| + | |||
| + | su - | ||
| + | |||
| + | service ' | ||
| + | |||
| + | ====== Initial Setup ====== | ||
| + | |||
| + | su - | ||
| + | |||
| + | mariadb-secure-installation | ||
| + | |||
| + | ====== Optimize ====== | ||
| + | |||
| + | **** | ||
| + | |||
| + | mariadb-check -u ' | ||
| + | |||
| + | ====== Other ====== | ||
| + | |||
| + | ===== Binaries ===== | ||
| + | |||
| + | pkg info -l ' | ||
| + | |||
| + | pkg info -l ' | ||
| + | |||
| + | ===== Settings Query ===== | ||
| - | mysqladmin | + | **** |
| - | | + | |
| - | mysqladmin -u ' | + | ===== Socket ===== |
| - | | + | |
| - | /tmp/mysqlx.sock | + | /var/run/ |
/srv/www/wiki/data/attic/servers/bsd/mariadb.1727835889.txt.gz · Last modified: by Sean Rhone
