so recently, I installed XAMPP on a linux server. I created a user user
on MariaDB, and set a password with PhpMyAdmin. Then, when I tried to login to the user, it gives Error 1045 (Access Denied). I know the password I entered was correct because I copy-pasted it into the input. I tried to login without a password and it worked! However, I need the password to work because I need to connect the database to PHP.
I tried UPDATE user SET plugin='mysql_native_password' WHERE user='user' AND host='localhost'
, and I even deleted and recreated the user.
How do I fix this? Also, I'm using XAMPP 8.2.4. Please help, Thanks!