Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Where are mysql data files (.MYD)

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I can't seem to find where JForum/Mysql stores its MYSQL Data files (e.g. jforum_forums.MYD). I can find the .frm files, but not the data. Any ideas? I'm using MacOSX with mysql 5.

Thanks,
JEff
[originally posted on jforum.net by netbracketsJeff]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

netbracketsJeff wrote:Hello,
I can't seem to find where JForum/Mysql stores its MYSQL Data files (e.g. jforum_forums.MYD). I can find the .frm files, but not the data. Any ideas? I'm using MacOSX with mysql 5.

Thanks,
JEff


Jeff,

JForum doesn't change the "default" MySQL database directory.

I use Gentoo Linux, and MySQL stores it's DBs in the /var/lib/mysql/database_name directories which contain the .frm, .MYD, & .MYI files.

[originally posted on jforum.net by GatorBait3]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK, thanks. Kind of weird, everything works great, but I'm not sure where all the MYD files are. I even did a full directory find, and it didn't turn up anything. I guess no biggie, I can do a dump and I can re-build from the dumped file.

Thanks,
Jeff
[originally posted on jforum.net by netbracketsJeff]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In Linux, you have to be running as root for the "locate" or "find" commands to actually find these files (due to permissions). Since OS X is *nix based, that may be the issue with you not finding the files.

Are you doing the search as the root user? If not, try su'ing to root then do the search.
[originally posted on jforum.net by GatorBait3]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

netbracketsJeff wrote:Hello,
I can't seem to find where JForum/Mysql stores its MYSQL Data files (e.g. jforum_forums.MYD). I can find the .frm files, but not the data. Any ideas? I'm using MacOSX with mysql 5.



default:

/usr/local/mysql/data


[originally posted on jforum.net by MyJForum]
 
reply
    Bookmark Topic Watch Topic
  • New Topic