如果我尝试以这种方式登录,它就可以成功。
$ mariadb --user blogbot -p"password"
如果我尝试以这种方式登录,它不起作用。
$ mariadb --user blogbot -p
Enter password:
ERROR 1045 (28000): Access denied for user 'blogbot'@'localhost' (using password: YES)
我尝试多次输入和粘贴密码,但很明显问题出在方法上。
您认为这可能是由于什么原因造成的?我刚刚注意到密码中包含'
,这在密码中是被禁止的吗?