#ERROR 2002 (HY000): Can't connect to local MySQL server

36 messages · Page 1 of 1 (latest)

vague ore
#

I need help with my SQL server I restarted my macbook and suddenly it doesnt work anymore. I don't know what to do I've reinstalled mysql with brew tried a different client instead of sequel ace. No solution tried to restart again. Searched the forums but no luck. Is there a way to avoid this?

#

Or should I just use docker?

#

Or xampp?

#

Perhaps it's more of a SQL issue but I am kinda lost what to do at this point

#

I get this when I do something in my project

hardy raft
vague ore
#

ohh ill try it out

#

I don't use docker is that a problem? @hardy raft

hardy raft
#

tighten is a docker-based tool, if that's what you mean

vague ore
#

yeah since I use my project without docker

hardy raft
#

So you need to install docker. But you won't have to mess with any docker configuration yourself, takeout will do that

vague ore
#

oh okay

hardy raft
#

What your project uses doesn't matter, this is for spinning up databases that your project (however it's running) can connect to

vague ore
#

i do have it installed

#

docker

vague ore
#

okay so now i have mysql running? How can I use it? Since now I have this too

#

I have to migrate again?

#

right

#

@hardy raft

hardy raft
#

Yes

vague ore
#

was it migrate install?

hardy raft
#

php artisan migrate

#

And --seed if you have seeders to run

vague ore
#

i think it works

#

how can I see data with takeout?

#

of my db

#

nvm i got it thanks @hardy raft

#

I just used my client with this now it works thanks!

#

@hardy raft 1 little thing with takeout how do you resume a existing mysql thing since I just made one

#

like if you did takeout stop

hardy raft
#

You can use any db client you like, e.g. TablePlus

vague ore
#

oh okay

hardy raft
#

takeout start and then you select the same db

vague ore
#

oh i get it now