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

    Join Date
    Oct 2013
    Rep Power

    Opening an existing database


    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. Contributing User
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2006
    Rep Power
    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