How to get path to a database

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • CaptainMcBunnyTickle

    How to get path to a database

    Does anyone know how to GET (not search the filesystem yourself) the path
    to any database, as in, where on the filesystem it lives? Is it a query? Is
    it in a debug log?

    TIA

    The Bunny
  • Bill Karwin

    #2
    Re: How to get path to a database

    CaptainMcBunnyT ickle wrote:[color=blue]
    > Does anyone know how to GET (not search the filesystem yourself) the path
    > to any database, as in, where on the filesystem it lives? Is it a query? Is
    > it in a debug log?[/color]

    mysql> show variables like 'datadir';

    Regards,
    Bill K.

    Comment

    • CaptainMcBunnyTickle

      #3
      Re: How to get path to a database

      Bill K - you rock, thanks.

      Comment

      Working...