Create Database for Nextcloud

Database Infomation

  • Database name : nextcloud_db
  • User name : nextcloud_user
  • Character set : utf8mb4
  • Password : XXXXXXXX

Create Database

$ sudo mysql -u root -p
> CREATE DATABASE nextcloud_db DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
> GRANT ALL PRIVILLEGES ON nextcloud_db.* TO 'nextcloud_user'@'localhost' IDENTIFIED BY 'XXXXXXXX';
> FLUSH PRIVILLEGES;
> EXIT;

Last Updated on June 5, 2024 by lama-admin


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *