how to access mysql from terminal

ARZhost.com 1 Reputation point
2021-08-12T08:43:38.38+00:00

I am looking for the solution about how to access mysql from terminal

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
959 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Oury Ba-MSFT 20,816 Reputation points Microsoft Employee Moderator
    2021-08-19T23:16:35.84+00:00

    Hi @ARZhost.com I haven't heard back from you. I am assuming you are trying to access MySQL Workbench from Command line. I that is the case, please follow the instructions below.

    1. Make sure you have created MySQL connection correctly
    2. Open command line from search then type cd \
    3. Once you reached the bin directory then type mysql -u yourUserName -p (apply this to connect to MySQL )

    Oury
    Regards,


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.