Tuesday, March 22, 2011

Log in to MySQL in Terminal

>>> mysql -u root -h localhost -p

ztron@ztron-desktop ~ $ mysql -u root -h localhost -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 42
Server version: 5.1.49-1ubuntu8.1 (Ubuntu)

Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

2 comments:

  1. Very nice post, impressive. its quite different from other posts. Thanks for sharing.
    LENOVO DESKTOPS IN DELHI

    ReplyDelete
  2. Very nice post, impressive. its quite different from other posts. Thanks for sharing.
    LENOVO DESKTOPS IN DELHI

    ReplyDelete