2020-07-14, 01:58 AM
(2020-07-13, 05:16 AM)noyle Wrote: [ -> ]In some Linux distros, MySQL usesWorked! I had 'caching_sha2_password' but changing it to 'mysql_native_password' solved my problem.auth_socket
as default authentication plugin. That means for the userroot
on MySQL, you have to log in to MySQL as root under the same Linux userroot
, just like how you did in your first post.
As for the other usermybb_user
, neither if the authentication plugin of it permits password login nor if the correct database privileges are granted for it (refer to @nixer55's reply) is unknown to us.
This random answer to the problem about root login might help: https://stackoverflow.com/a/42742610/6681141 and perhaps you may need to review the configurations for usermybb_user
.
CREATE USER 'mybb_user'@'localhost';
GRANT ALL PRIVILEGES ON mybb_database.* TO 'mybb_user'@'localhost' WITH GRANT OPTION;
UPDATE user SET plugin='mysql_native_password' WHERE User='mybb_user';
ALTER USER 'user'@'hostname' IDENTIFIED BY 'my-password';
FLUSH PRIVILEGES;
...but now there is another problem... This is what happens when I'm pressing F5:I tried reinstalling it but it gives me more errors:
Ok, nevermind.
I installed it again and it works now.