Sample Header Ad - 728x90

MariaDB password only works if passed as command line argument

-1 votes
1 answer
121 views
If I try to login this way, it works. $ mariadb --user blogbot -p"password" If I try to login this way, it doesn't work. $ mariadb --user blogbot -p Enter password: ERROR 1045 (28000): Access denied for user 'blogbot'@'localhost' (using password: YES) I tried many times both typing and pasting the password, and it seems clear to me that the problem is with the method. --- What do you think this might be due to? I just noticed the password includes a ', is this prohibited in a password?
Asked by FLAK-ZOSO (101 rep)
Feb 15, 2025, 07:19 PM
Last activity: Feb 17, 2025, 11:56 PM