mbucc / shmig

Database migration tool written in BASH.
BSD 3-Clause "New" or "Revised" License
458 stars 49 forks source link

Don't require connection for generating scripts #25

Closed blockloop closed 7 years ago

blockloop commented 7 years ago

shmig create add-people exits with

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

Is there any reason that a connection is required to generate a script?

blockloop commented 7 years ago

Let me know if that PR is okay. I don't think there were any other commands that can be executed without a connection

mbucc commented 7 years ago

Thanks for the PR, will take a look this weekend.

blockloop commented 7 years ago

Were you able to check out the PR?

mbucc commented 7 years ago

Yeah, it looks good. There is no need to have a client installed to generated a upgrade skeleton.

I'll merge, hopefully tonight. Thanks for your contribution!

On Tue, Jun 27, 2017 at 3:14 PM, Brett notifications@github.com wrote:

Were you able to check out the PR?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mbucc/shmig/issues/25#issuecomment-311456908, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFPWS9AS5qGkixK9Sjx3aM_8vthPd81ks5sIVSVgaJpZM4N_Cnj .

-- Blogging at markbucciarelli.com Tweeting @mbucc