#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2013
    Posts
    3
    Rep Power
    0

    Opening an existing database


    hello

    I am new to MySQL. While at MySQL command line. I have created a database called sitename; After exiting the database I am not certain how to reopen this existing database to come back to it. Is there a way to do this at command line. If so. Please explain how. Thank you Ralph.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Mar 2006
    Posts
    2,449
    Rep Power
    1751
    Once at the mysql> prompt, you can use connect DatabaseName (changing DatabaseName to the name of your database).
    The moon on the one hand, the dawn on the other:
    The moon is my sister, the dawn is my brother.
    The moon on my left and the dawn on my right.
    My brother, good morning: my sister, good night.
    -- Hilaire Belloc

IMN logo majestic logo threadwatch logo seochat tools logo