CREATE DATABASE nextcloud; CREATE USER 'oc_next'@'localhost' IDENTIFIED BY "123456"; GRANT ALL PRIVILEGES ON nextcloud.* TO 'oc_next'@'localhost'; grant all privileges on nextcloud.* to 'oc_next'@'%' identified by '123456' with grant option; FLUSH PRIVILEGES;