MariaDB password invalid on hosted server

I tried to install NextCloud on my hosted webspace.
I downloaded the setup-script and let it run, without any problems.
On Setup I tried to connect to my SQL/MariaDB Server, which didn’t work.
I checked today with my provider, they think the setup script ist faulty.
I turned to SQLLight which worked. I tried to change to MariaDB again, but I can’t get it to run.
I’m sure the password and username is correct, I also changed to an easy password, nothing seems to work:
Access denied for user ‘db127889_1’@‘localhost’ (using password: YES)

Anny suggestions?
LG Ralf

Have you read the documentation?

Maybe you can post real anonymized values from your config/config.php. Please all values:

  "dbtype"        => "mysql",
  "dbname"        => "nextcloud",
  "dbuser"        => "username",
  "dbpassword"    => "password",
  "dbhost"        => "localhost",
  "dbtableprefix" => "oc_",

Can you check your database e.g. with other programs like mysqladmin?
Post also all anonymized values.

these are my values:
‘instanceid’ => ‘oc2z82ccor7e’,
‘passwordsalt’ => ‘’,
‘secret’ => ‘’,
‘datadirectory’ => ‘/kunden/xxxx/NextCloud/data’,
‘dbtype’ => ‘mysql’,
‘version’ => ‘’,
‘overwrite.cli.url’ => ‘’,
‘dbname’ => ‘db12xxx’,
‘dbhost’ => ‘localhost:3306’,
‘dbport’ => ‘’,
‘dbtableprefix’ => ‘nc_’,
‘mysql.utf8mb4’ => true,
‘dbuser’ => ‘db12xxxx’,
‘dbpassword’ => ‘rxxxxx’,
‘installed’ => true,
but as far as I understand it it they don’t mater, at the point where I got stuck.
I can look into my database with myphpadmin and it’t empty, the installer refuses to connect to the database, so if I n order to create all the tables I need to change ‘installed’ to false, which brings me to the installer, which refuses to connect to the database.
Is there a different way to create the tables? On a hosted system without a command line!

Now it works, I installed it again and suddenly everything worked.

1 Like