matrixorigin / mo_ctl_standalone

mo_ctl tool for standalone matrixone
Apache License 2.0
2 stars 1 forks source link

[Feature Request]: implement function 'connect' #22

Closed aronchanisme closed 1 year ago

aronchanisme commented 1 year ago

Is there an existing issue for the feature request?

Feature Description

Usage         : mo_ctl connect # connect to mo via mysql client using connection info configured

Feature Implementation

  1. Use mysql client to connect to local mo-service with the connection info provied(MO_USER/MO_PW/MO_PORT/MO_HOST)
  2. Test the connectivity first, and if failed exit 1, otherwise connect for user

Additional information

none

aronchanisme commented 1 year ago

feature implemented