Command Line Clients - mysql
mysql
Is a simple shell with input line editing capabilites. It supports interactive and noninteractive use. Whe used interactively,q query results are presented in an ASCII-table format.
Using the myql
joseph@ubuntu:~$ mysql
or with options
shell> mysql --user=user_name --password=your_password db_name
Or execute statments from a script file
shell> mysql db_name < script.sql