• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 547
  • Last Modified:

Password to get into MySQL Server 5.6

Hi! I've installed MySQL on my computer.  I'm new to using it but I am accessing it via MySQL workbench 5.2 and attempting to establish a database connection.  It is asking for the root password and I can't seem to find it.  I have tried the password mysql and password.  They don't seem to work.  Any help would be greatly appreciated.
0
kpbarem
Asked:
kpbarem
  • 4
  • 3
1 Solution
 
Dave BaldwinFixer of ProblemsCommented:
A fresh install doesn't normally have a password for 'root'.  It is recommended that you create one when you can.
0
 
kpbaremAuthor Commented:
It won't let me create a connection to the server, unfortunately.  I'm not sure whats going on there.  Any trouble shooting steps you might recommend?
0
 
Dave BaldwinFixer of ProblemsCommented:
A username, password (even if blank), and a hostname or IP address is required to connect to a MySQL server.  If the server is on the same machine as MySQL Workbench, try using 'root' with a blank password at either 'localhost' or '127.0.0.1'.  There can be a problem with new computers that use IPV6 where 'localhost' is defined as an IPV6 address which MySQL does not understand.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
kpbaremAuthor Commented:
This might be the case for us.  The computer is brand new.  If the 'localhost' is defined as an IPV6 address is there a way to configure it so that it doesn't assign that address to the localhost?
0
 
Dave BaldwinFixer of ProblemsCommented:
This article http://bobstrand.com/totm/2010/04/hey-dude-wheres-my-localhost/ says use "127.0.0.1" (instead of localhost) to force an IPv4 connection.

Here's about IPV6 and MySQL: http://dev.mysql.com/doc/refman/5.5/en/ipv6-support.html

Here's some troubleshooting info: http://dev.mysql.com/doc/refman/5.1/en/access-denied.html and here: http://dev.mysql.com/doc/refman/5.1/en/connecting.html
0
 
kpbaremAuthor Commented:
Sorry for the delay in getting back to you.  This ended up working.  We were able to switch the IP address and force the IPv4 connection.Thanks!
0
 
Dave BaldwinFixer of ProblemsCommented:
You're welcome, thanks for the points.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now