MariaDB - can log in via the command line but not through app like TablePlus

For MariaDB older than 10.4 SET PASSWORD FOR 'root'@'localhost' = PASSWORD('NewPassword'); FLUSH PRIVILEGES; then SET PASSWORD FOR 'root'@'localhost' = PASSWORD('NewPassword'); FLUSH PRIVILEGES;

Mar 4, 2025 - 10:28
 0
MariaDB - can log in via the command line but not through app like TablePlus

For MariaDB older than 10.4

SET PASSWORD FOR 'root'@'localhost' = PASSWORD('NewPassword');
FLUSH PRIVILEGES;

then

SET PASSWORD FOR 'root'@'localhost' = PASSWORD('NewPassword');
FLUSH PRIVILEGES;