+1

New to linux. I want to connect to mysql server from ubuntu terminal and execute commands, please help.

1 answers, +1 votes, 294 views
Visitor's picture
asked by Visitor
16 weeks 1 day ago



1 Answers

Answer
0

Launch terminal and execute following command
 
mysql -h <ipaddress> -u <username> -p
 
for example
 
mysql -h 10.11.12.13 -u john -p
 
This will prompt for the password, once successfully entered will show you the following mysql prompt
 
mysql> 

Visitor's picture
answer by Visitor
16 weeks 1 day ago

Asked by

Visitor's picture
Visitor

View in your own language!