Skip to content

Instantly share code, notes, and snippets.

@bencwbrown
Last active July 24, 2018 00:35
Show Gist options
  • Save bencwbrown/59111edaf5d28503b1fa0157ceb793ec to your computer and use it in GitHub Desktop.
Save bencwbrown/59111edaf5d28503b1fa0157ceb793ec to your computer and use it in GitHub Desktop.
Standard administrator set-up for ownCloud with MySQL
# Login as root
# sudo mysql -u root -p
CREATE DATABASE owncloud;
CREATE USER 'admin'@'localhost' IDENTIFIED BY 'admin-password';
GRANT ALL PRIVILEGES ON owncloud.* TO 'admin'@'localhost' IDENTIFIED BY 'admin-password';
FLUSH PRIVILEGES;
EXIT;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment