Link to home
Start Free TrialLog in
Avatar of kpbarem
kpbarem

asked on

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.
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

A fresh install doesn't normally have a password for 'root'.  It is recommended that you create one when you can.
Avatar of kpbarem
kpbarem

ASKER

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?
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.
Avatar of kpbarem

ASKER

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?
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kpbarem

ASKER

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!
You're welcome, thanks for the points.