I'm in Laravel 5.8 don't know why I kept getting this error while loggin in
SQLSTATE[08006] [7] authentication method 10 not supported (SQL: select * from "users" where "uuid" = ****** limit 1)
I've tried various version of PostgresSQL from this link.
14
I started off with psql version 14. Try logging in... error started to happen.
13
I uninstalled 14 and installed 13. Try again... error still persists.
9.6
I've tried uninstalling 13 and installed 9.6, and Try again... error still persists.
Each time, I downgrade my postgres version, I had to recreate the database and restore from a backup .sql file.
psql -U postgres -d dbname < dbname.sql
Is this something wrong with my Laravel/PHP/Postgres config that leads to this ? I'm running out of ideas now ...
pg_hba.conf
I couldn't find the file.
beta@Betas-MacBook-Pro boss-portal % psql -U postgres
Password for user postgres:
psql (9.6.24)
Type "help" for help.
postgres=#
postgres=#
postgres=# SHOW hba_file;
hba_file
------------------------------------------
/Library/PostgreSQL/9.6/data/pg_hba.conf
I went to check
/Library/PostgreSQL/9.6/data/pg_hba.conf
It's not there.