开发者

In MySQL workbench what is username/password for connection? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.

Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.

Closed 2 years ago.

开发者_如何学Go Improve this question

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. What are the username and password supposed to be? How is the account created, where can I find it, etc? I am using Windows.

Thanks,


Good day Agezna

In MySql Workbench the username and password are the username and password of you MySql Server user. But once you don't know those as well.

Have you installed MySql Server alone from MySql website?

Or MySql Server was included in some web server applications bundle like:

  • Xampp. Default username is root and there is no password set.
  • Wampp. Default username is root and there is no password set.
  • other one? Try the same for Xampp if it doesn't work, specify the bundle name then i can help you.

If you installed MySql Server alone, the password was set at installation, if you need to change it, there is a executable in your MySql Server folder in your Start Menu in Windows where you can change the configuration of you server, including your default password.

Regards.


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


When you installed, did you set a root password? If so, use username "root" and the password you set. If not, leave "password" empty.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜