SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    May 2002
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    MySQL Database Question

    Hello,

    Have a question regarding MySQL. When I login to my server as SU and then login to MySQL, I can access all the databases in MySQL by issuing the command:

    Show Databases;

    This will display all the databases in MySQL. But from here, what is the command to access one of these particular databases that are displayed so that I can work with the individual tables of one of these datbases?

    Thank you.

  2. #2
    SitePoint Wizard silver trophy redemption's Avatar
    Join Date
    Sep 2001
    Location
    Singapore
    Posts
    5,269
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    mysql> use database_name;

  3. #3
    SitePoint Member
    Join Date
    May 2002
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Smile Thank you

    Aint' that easy. Thank you, very much, redemption.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •