I am trying to do a restore of a backup to a new server.
This is what I did to setup nextcloud on the new server:
sudo snap install nextcloud
sudo nextcloud.manual-install admin password
sudo snap run nextcloud.occ config:system:set trusted_domains 1 --value=nextcloud.domain.org
sudo snap restart nextcloud
Trying to drop the database table isnt working.
mysql -h ourIP -u nextcloud -p secret -e “DROP DATABASE nextcloud”
Its telling me ERROR 2003 (HY000): Can’t connect to MySQL server on ‘172.20.82.102’ (111 “Connection refused”)
Im not sure where to get the user/password for this. Any direction would be appreciated.