Hi Nextcloud Community,
at the moment I am trying to Install Nextcloud using a remote Database Server.
But the Installer keeps ignoring my --database-host option… It just keeps using localhost. Why ?
sudo -u www-data php occ maintenance:install --database=“mysql” --database-host="…notlocalhost" --database-name=“nextcloud” --database-user=“nextcloud” --database-pass="…"
[…]
Error while trying to create admin user: Failed to connect to the database: An exception occured in driver: SQLSTATE[HY000] [1045] Access denied for user ‘nextcloud’@’…localhost’ (using password: YES)
Do I miss something ?
Any help would be appreciated!
Thanks!
Andrew