mirror of
https://github.com/skoelle/icloud-contacts-sync.git
synced 2026-09-17 23:40:24 +00:00
move db setup sql
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#!mariadb
|
||||
-- Kontakte-Sync MariaDB Setup Script
|
||||
-- Auszufuehren einmalig auf dem MariaDB LXC, z.B. via:
|
||||
-- mysql -u root -p < sql/calendar_sync_setup.sql
|
||||
|
||||
CREATE DATABASE IF NOT EXISTS contacts CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
|
||||
|
||||
CREATE USER IF NOT EXISTS 'contacts_sync'@'%' IDENTIFIED BY 'HIER_SICHERES_PASSWORT';
|
||||
|
||||
GRANT ALL PRIVILEGES ON contacts.* TO 'contacts_sync'@'%';
|
||||
|
||||
FLUSH PRIVILEGES;
|
||||
Reference in New Issue
Block a user