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/03 01:27] – 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 ===== |
- | | + | |
- | | + | |
- | mysqladmin -u ' | + | ====== Initial Setup ====== |
- | | + | |
- | | + | |
- | ====== | + | ====== |
- | < | + | **** |
- | ===== | + | |
- | Message from mariadb114-server-11.4.2: | + | mariadb-check -u ' |
+ | |||
+ | ====== Other ====== | ||
+ | |||
+ | ===== Binaries ===== | ||
+ | |||
+ | pkg info -l 'mariadb114-server' | grep ' | ||
+ | |||
+ | pkg info -l ' | ||
+ | |||
+ | ===== Settings Query ===== | ||
+ | |||
+ | **** | ||
+ | |||
+ | mariadb-admin -u ' | ||
+ | |||
+ | ===== Socket ===== | ||
- | -- | + | mariadb-admin variables |
- | MariaDB respects hier(7) and doesn't check /etc and /etc/mysql for | + | |
- | my.cnf. Please move existing my.cnf files from those paths to | + | |
- | / | + | |
- | configuration files are provided in / | + | |
- | and / | + | |
- | The rc(8) script no longer uses / | + | |
- | nor / | + | |
- | This port does NOT include the mytop perl script, this is included in | + | |
- | the MariaDB tarball but the most recent version can be found in the | + | |
- | databases/mytop port | + | |
- | Using wsrep clustering requires adding a configuration file. | ||
- | Copy / | ||
- | / | ||
- | </ |
/srv/www/wiki/data/attic/servers/bsd/mariadb.1727933236.txt.gz · Last modified: by Sean Rhone