Connecting/Disconnecting from the server
Connecting to MySQL Server -
> Connecting to server will require authentication i.e. Username and password and specifying a host name
shell> mysql -h host -u user -p
Enter password: ------
host - hostname
user - MySQL Username
> After login, the following screen is viewed -
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 25338 to server version: 4.1.22-standard
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
Disconnecting MySQL Server -
> Type Quit or \q
|