Connect To Local Database With MySQL

I found an article that talks about how to connect to your Local Environment’s database with MySQL, but I think some of the language used in it might be outdated.

Here’s the article I’m referring to…

Can anybody update me on what I need to put for Connection Method, Hostname, Port, Username, and Password in order to connect to my site’s database through MySQL?

The Database Tab in Local looks like it has some of this info, but not all of it.

Thanks!

1 Like

Connection method: (Unix) Socket
User: root
Password: root
Socket: Copy from field under Database tab

2 Likes

Yes! That worked!

My Connection Method was Local Socket/Pipe not (Unix) but other than that your advice was spot on!

Thank you :slight_smile:

1 Like