I’ve managed to get the two implementations working - now in migration I’m getting an SQL error:
SQLSTATE[HY000] [1045] Access denied for user 'ninja'@'localhost' (using password: YES) (SQL: select exists(select * from `users` where (`email` = junk@biketrax.co.uk) and `users`.`deleted_at` is null) as `exists`)
SQLSTATE[HY000] [1045] Access denied for user 'ninja'@'localhost' (using password: YES) (SQL: select exists(select * from `users` where (`email` = junk@biketrax.co.uk) and `users`.`deleted_at` is null) as `exists`)
Yep - one single user, ‘ninja’ with access to both databases ‘ninjadb’ and ‘invoiceninja’ - full privileges granted and both apps running - v4 on HTTP, v5 on HTTPS. SQL error occurs after compnay is created,and logo transferred. I’m not sure where the reference to ‘junk@biketrax.co.uk’ comes from, as that ios not an email used in either apps userbase.
I’ve checked:
Both .env files
Force HTTPS off on v4
all redirects removed from apache2 confs
Yep, no dice with that one either, still throwing the same error:
SQLSTATE[HY000] [1045] Access denied for user 'ninja'@'localhost' (using password: YES) (SQL: select exists(select * from `users` where (`email` = junk@biketrax.co.uk) and `users`.`deleted_at` is null) as `exists`)
SQLSTATE[HY000] [1045] Access denied for user 'ninja'@'localhost' (using password: YES) (SQL: select exists(select * from `users` where (`email` = junk@biketrax.co.uk) and `users`.`deleted_at` is null) as `exists`)
It seems to me this is an error/corruption with the v4 database though - is there a data integrity check tool for v4?
Multi_db flag: Not as far as I’m aware - but i was fiddling around for ages trying to get it to run, so it’s not impossible. Shall i do a fresh install?
Companies table in v5 has db-ninja-01 in db it’s only row