Database error on hostigner

Anyone had any experince getting past the setup page using hostinger shared hosting?

I had a version running on PHP 7 and that was fine, I recently updated my PHP to 8.1 so I could install the new v5 on a new subdomain to make sure I didn’t overwrite anything.

All is well with the install, so i proceed to I setup a empty db inside hostinger and noted the credentials.

Then on the invoiceNinja setup page I input all the db creds and press test. It says Sucess! Yay.
Then I add some brand new user credentials in and press submit.

It then throws an error saying it cannot connect to the database.

Ive checked the creds using phpmyadmin and they are all correct.

Any ideas what the issue could be here? Been at this for hours

Thanks

Error Output:

ERROR 1045 (28000): Access denied for user ‘u63127_Ninja’@‘::1’ (using password: YES)

Hi,

Not sure, all I can suggest is to double check the database credentials in the .env file are correct.

Note: the latest version of the app requires PHP 8.2.

Sorry yes I meant 8.2

Yes the creds in the env file are correct.

I think I might have worked it out though, the logs says accounts table missing

The installer usually creates the db tables right? but its not creating a db at all, I created it manually. I think its expecting to see a bunch of tables that don’t exist? could that be right?
My hosting doesn’t allow me to run commands so I cant even run the migrate command

Thanks

You shouldn’t need to manually create any tables. When you complete the setup page the app should run the migration for you.

Not sure what to suggest if you can’t run php artisan migrate.