MySQLfs 0.4.0

A userspace filesystem which stores data in a MySQL database

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!

What's new in MySQLfs 0.4.0:

  • Fixed all open bugs, and responded to one of two Feature Requests
  • Doxygen'd API, regression-tests pass on Linux
  • Reworked data storage. Instead of one huge record for each file we now store the data in 4kB blocks. That greatly improves performance, storage efficiency and overcomes problems when storing files larger than 1MB. As a side effect it allows storing "sparse" files.
Read full changelog
send us
an update
LICENSE TYPE:
GPL (GNU General Public License) 
USER RATING:
3.0/5 17
DEVELOPED BY:
MySQLfs team
HOMEPAGE:
sourceforge.net
CATEGORY:
ROOT \ System \ Filesystems
MySQLfs is Linux userspace filesystem which stores data in a MySQL database. The project uses FUSE to interface with the kernel.

Build:

If compiling from CVS run ./cvs-bootstrap first.

For both CVS and tarball version run:

./configure
make


Usage:

1. Create database and account

mysql> CREATE DATABASE mysqlfs;
mysql> GRANT SELECT, INSERT, UPDATE, DELETE ON mysqlfs.* TO mysqlfs@"%" IDENTIFIED BY 'password';
mysql> FLUSH PRIVILEGES;


2. Create tables

mysql -uroot -p mysqlfs < schema.sql

3. Mount database as a filesystem

mkdir fs
./mysqlfs -ohost=localhost -ouser=user -opassword=pass -odatabase=mysqlfs fs


4. Instead of setting connection options on the command line you may create a [mysqlfs] section in your ~/.my.cnf file and set the parameters there.

Options:

-ohost=< hostname >
MySQL server host

-ouser=< username >
MySQL username

-opassword=< password >
MySQL password

-odatabase=< db >
MySQL database name

Last updated on July 13th, 2009

requirements

#userspace filesystem #MySQL filesystem #MySQL database #FUSE #userspace #filesystem #MySQL

Add your review!

SUBMIT