It is possible to install NC 12 to an existing database

Hi,
I’m trying to install NextCloud to a hosted webserver.
There is a MYSQL database, whilst I have privileges to create tables the hosting service does not provide privileges to create new users or databases.

It is possible to install with this server configuration?

Just to be clear, I have a hostname, dbname password etc and can connect to the database with phpMyAdmin.
If I try to run “Create User” or “Create Database” then I get permission denied.

Thanks

Andrew

That should work. Just give Nextcloud the credentials for the user which has permissions to create tables within the database and you should be good to go. And don’t use that database for anything else (Nextcloud should be the only application making changes to the database).

Ah, Problem solved.

I had not specified the port number on the hostname, because it was the default one. Adding :3306 to the end of the hostname did the trick.

:grin:

Thanks

Andrew

1 Like