MariaDB: erinevus redaktsioonide vahel
Allikas: Imre kasutab arvutit
Mine navigeerimisribaleMine otsikasti
Resümee puudub |
Resümee puudub |
||
8. rida: | 8. rida: | ||
# apt-get install mariadb-server |
# apt-get install mariadb-server |
||
+ | |||
+ | ===Seadistamine=== |
||
+ | |||
+ | Debian v. 11 operatsioonisüsteemi puhul kasutatakse vaikimisi utf8mb4 st andmebaasi ja kasutajat on loomulik moodustada selliselt, nt wordpress jaoks sobib väga hästi |
||
+ | |||
+ | <pre> |
||
+ | MariaDB [(none)]> CREATE DATABASE projektinimi CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; |
||
+ | MariaDB [(none)]> grant all privileges on projektinimi.* to 'projektinimi'@'%' identified by 'parool'; |
||
+ | MariaDB [(none)]> grant all privileges on projektinimi.* to 'projektinimi'@'localhost' identified by 'parool'; |
||
+ | </pre> |
||
====Paigaldamine tootja repost==== |
====Paigaldamine tootja repost==== |
Redaktsioon: 10. märts 2024, kell 00:47
Sissejuhatus
TODO
Tarkvara paigaldamine
Paigaldamine tavalisest paketihaldusest
# apt-get install mariadb-server
Seadistamine
Debian v. 11 operatsioonisüsteemi puhul kasutatakse vaikimisi utf8mb4 st andmebaasi ja kasutajat on loomulik moodustada selliselt, nt wordpress jaoks sobib väga hästi
MariaDB [(none)]> CREATE DATABASE projektinimi CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; MariaDB [(none)]> grant all privileges on projektinimi.* to 'projektinimi'@'%' identified by 'parool'; MariaDB [(none)]> grant all privileges on projektinimi.* to 'projektinimi'@'localhost' identified by 'parool';
Paigaldamine tootja repost
TODO
Kasulikud lisamaterjalid
- TODO