database path

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

    #1

    database path

    how can I retreive the path to a mysql database. I need to use it as a
    string in my program to find image files that are stored in the same
    directory?
    Ian


  • Gordon Burditt

    #2
    Re: database path

    >how can I retreive the path to a mysql database. I need to use it as a[color=blue]
    >string in my program to find image files that are stored in the same
    >directory?[/color]

    I don't believe that MySQL guarantees anything if you stick a bunch
    of extra files in a directory used for a database. At best, you'd
    slow down operations like "show tables" a lot. Put your image files
    elsewhere.

    Gordon L. Burditt

    Comment

    Working...