英文:
I am not able to write password of mysql in twrminal
问题
我已经下载了 MySQL,现在打开终端运行,但它不接受密码。
它不接受密码,但显示输入密码。
英文:
I have downloaded mysql now opened terminal to run but it is not taking password.
In the image it shows enter password but i am not able to write please give me solution
It is not taking password but it shows enter password
答案1
得分: 2
终端不显示密码在屏幕上,它是机密数据,只需输入密码然后按回车,它将起作用。所输入的密码将不可见。
英文:
terminals don't reflect passwords on screen and it confidential data just type the password and hit enter it will work..the password written will not be visible
答案2
得分: 0
在终端中输入密码时,您输入的字符不会显示出来。只需像平常一样输入密码,然后按Enter键。即使您看不到字符,它们也已经被输入了。
如果您无法输入:
尝试运行以下命令以检查权限:ls -la /usr/local/mysql/bin/mysql
对我来说,显示如下:
-r-x--x--x 1 root
如果您没有权限(应该会收到权限错误通知),尝试运行以下命令:chmod +x /usr/local/mysql/bin/mysql
然后再次尝试执行该命令。
还可以尝试直接在CLI中传递密码:
mysql -u root -p<password>
英文:
When entering passwords in the terminal, the characters you type won't be visible. Just type your password as you normally would and press Enter. Even though you don't see the characters, they are being entered.
if you are not able to type at all :
try to ls -la /usr/local/mysql/bin/mysql
to check permissions.
for me it shows :
> -r-x--x--x 1 root
if you do not have permissions, (you should be noticed the permission error) try to chmod +x /usr/local/mysql/bin/mysql
then try again executing the command.
also try to pass the password directly in the CLI :
mysql -u root -p<password>
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论