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 [2024/12/01 14:28] (current) – Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | * TODO (copy of mysql) | + | ====== Dependencies ====== |
- | < | + | su - |
- | root@Spinesnap: | + | |
- | Installing MariaDB/ | + | |
- | OK | + | |
- | To start mariadbd at boot time you have to copy | + | pkg install ' |
- | support-files/ | + | |
+ | ====== Settings ====== | ||
- | Two all-privilege accounts were created. | + | su - |
- | 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://mariadb.com/kb | + | ee '/usr/local/ |
- | You can start the MariaDB daemon with: | + | < |
- | cd '/ | + | [client] |
+ | default-character-set = 'utf8mb4' | ||
- | You can test the MariaDB daemon with mariadb-test-run.pl | + | [mariadb-client] |
- | cd '/usr/local/' | + | default-character-set = 'utf8mb4' |
- | Please report any problems at https:// | + | [mariadbd] |
+ | character-set-client-handshake = ' | ||
+ | character-set-server = ' | ||
+ | collation-server = ' | ||
+ | init-connect=' | ||
+ | expire_logs_days = ' | ||
+ | max_binlog_size = ' | ||
+ | skip-networking = ' | ||
+ | table_definition_cache = ' | ||
- | The latest information about MariaDB is available at https:// | + | ====== Service ====== |
- | Consider joining MariaDB' | + | ===== Initial ===== |
- | https:// | + | |
- | Starting mysql. | + | su - |
- | </ | + | |
- | + | ||
- | service 'mysql-server' | + | |
sysrc mysql_enable=" | sysrc mysql_enable=" | ||
Line 42: | Line 38: | ||
service ' | service ' | ||
- | mysql_secure_installation | + | ===== 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