3 lines
317 B
Desktop File
3 lines
317 B
Desktop File
[Service]
|
|
ExecStartPost=-/usr/bin/mysql -e "UPDATE mysql.global_priv SET priv=json_set(priv, '$.plugin', 'mysql_native_password', '$.authentication_string', PASSWORD('{{ general.mariadb.mariadb_root_password }}')) WHERE User='root';" -e "FLUSH PRIVILEGES;"
|
|
ExecStartPost=-/usr/bin/mysql -e "source /etc/mariadb.sql;"
|