Ubuntu command line to log in to the company's mysql database

I have been using workbench to log in to the company's mysql in windows, and I want to use linux to access the company's database. After a while, I found that a very simple command can be achieved:

mysql -h host地址 -u 用户名 -p

Of course, mysql must be installed on the system first. Just use the mysql client here.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324843178&siteId=291194637