在MySQL工作台中,用于连接的用户名/密码是什么? [英] In MySQL workbench what is username/password for connection?

查看:240
本文介绍了在MySQL工作台中,用于连接的用户名/密码是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是MySQL的新手.我正在做本教程,并试图创建一个连接.我需要一个用户名和密码.每当我说它无法使用密码YES连接到username @ localhost时,我都会收到一个错误.我只是想在本地进行设置.

I'm new to MySQL. I'm doing the tutorial and trying to create a connection. I need to have a username and password. I get an error each time saying it can't connect to username@localhost using password YES . I'm just trying to set this up locally.

用户名和密码应该是什么?帐户是如何创建的,在哪里可以找到,等等.我正在使用Windows.

What is the username and password supposed to be? How is the account created, where can I find it, etc. I am using Windows.

谢谢

推荐答案

系统提示您输入MySQL服务器的用户名和密码.如其他人所述,如果这是全新的服务器安装,则用户名root(密码为空)应该会在一开始就为您带来帮助.如果这不起作用,那么如果您具有Shell访问权限,则始终可以重置root密码.这里有说明:

You are being prompted for a username and password for your MySQL server. If this is a fresh server installation, as others have said, the username root with a blank password should get you in initially. If this doesn't work you can always reset the root password if you have shell access. There are instructions here:

http://www.cyberciti.biz/tips/recover- mysql-root-password.html

这篇关于在MySQL工作台中,用于连接的用户名/密码是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆