Log on to a database

更新时间:
复制 MD 格式

This topic describes how to log on to a MyBase instance on ECS.

Procedure

  1. Connect to the ECS instance where the data node is located.

  2. Switch to the MySQL installation folder.

    cd /usr/local/mysql8.0/mysql/8.0.36/bin/
  3. Run the MySQL logon command.

    ./mysql -h 127.0.0.1 -u root -p
  4. Enter the password and press Enter. The mysql> prompt indicates a successful logon.