MySQLfs iconMySQLfs 0.4.0

A userspace filesystem which stores data in a MySQL database
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, 14:08 GMT
price:
FREE!
developed by:
MySQLfs team
license type:
GPL (GNU General Public License) 
category:
ROOT \ System \ Filesystems

FREE!

In a hurry? Add it to your Download Basket!

user rating 17

UNRATED
3.0/5
 

0/5

What's New in This Release:
  • 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

Add your review!

SUBMIT