{"id":18806277,"url":"https://github.com/rootfs/mysqlfs","last_synced_at":"2025-07-30T12:33:03.391Z","repository":{"id":79263678,"uuid":"47283084","full_name":"rootfs/mysqlfs","owner":"rootfs","description":"Imported from http://sourceforge.net/p/mysqlfs/code/HEAD/tree/","archived":false,"fork":false,"pushed_at":"2015-12-02T19:23:25.000Z","size":301,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-22T00:40:28.381Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rootfs.png","metadata":{"files":{"readme":"README","changelog":"ChangeLog","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-02T19:23:18.000Z","updated_at":"2018-12-21T20:03:31.000Z","dependencies_parsed_at":"2023-03-14T00:45:13.175Z","dependency_job_id":null,"html_url":"https://github.com/rootfs/mysqlfs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rootfs/mysqlfs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootfs%2Fmysqlfs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootfs%2Fmysqlfs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootfs%2Fmysqlfs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootfs%2Fmysqlfs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rootfs","download_url":"https://codeload.github.com/rootfs/mysqlfs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootfs%2Fmysqlfs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267867803,"owners_count":24157357,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T22:48:04.191Z","updated_at":"2025-07-30T12:33:03.367Z","avatar_url":"https://github.com/rootfs.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"                      mysqlfs - MySQL FileSystem\n\n$Id$\n\nMySQLfs is a FUSE filesystem driver which stores files in a MySQL database.\n\n* Requirements\n\n  - mysql-client libraries 5.0 or later\n  - mysql-server 5.0 or later\n  - fuse 2.5 or later\n\n* Build\n\n  If compiling from version-control, use \"autoreconf -vfi\" first.\n\n  For both version-control and tarball version run:\n  $ ./configure\n  $ make\n\n* Usage\n\n1. Create database and account\n   mysql\u003e CREATE DATABASE mysqlfs;\n   mysql\u003e GRANT SELECT, INSERT, UPDATE, DELETE ON mysqlfs.* TO mysqlfs@\"%\" IDENTIFIED BY 'password';\n   mysql\u003e FLUSH PRIVILEGES;\n\n   (note FAQ: Errors #1 \"Access Denied For User\" below)\n\n2. Create tables\n   $ mysql -uroot -p mysqlfs \u003c schema.sql\n\n   (note FAQ: Errors #2 \"Can't Create/Write to File\" below)\n\n3. Mount database as a filesystem\n   $ mkdir fs\n   $ ./mysqlfs -ohost=localhost -ouser=user -opassword=pass -odatabase=mysqlfs fs\n\n4. Instead of setting connection options on the command line\n   you may create a [mysqlfs] section in your ~/.my.cnf file and\n   set the parameters there.\n\n* Options\n\n  -ohost=\u003chostname\u003e\n    MySQL server host\n\n  -ouser=\u003cusername\u003e\n    MySQL username\n\n  -opassword=\u003cpassword\u003e\n    MySQL password\n\n  -odatabase=\u003cdb\u003e\n    MySQL database name\n\n* FAQ: ERRORS\n\n1. Access Denied For User 'mysql'@'localhost'\n\n   ie: (using the example GRANT above) \n   $ ./mysqlfs -ohost=localhost -ouser=mysqlfs -opassword=password -odatabase=mysqlfs fs\n\n   2009-06-14 00:59:29 89956 ERROR: mysql_real_connect(): Access denied for user 'mysqlfs'@'localhost' (using password: YES)\n   2009-06-14 00:59:29 89956 ERROR: mysql_real_connect(): Access denied for user 'mysqlfs'@'localhost' (using password: YES)\n   2009-06-14 00:59:29 89956 Failed to connect MySQL server.\n   2009-06-14 00:59:29 89956 Error: pool_init() failed\n\n   MySQL is sticky sometimes with access; on MacOSX, I had to specifically allow localhost:\n\n   mysql\u003e GRANT SELECT, INSERT, UPDATE, DELETE ON mysqlfs.* TO mysqlfs@\"localhost\" IDENTIFIED BY 'password';\n\n   $ sudo /usr/local/mysql/bin/mysqladmin reload\n\n   Remember, also, that 'localhost' and '127.0.0.1' may appear differently.  Check also your /etc/hosts entry, some\n   systems define 127.0.0.1 as their uname() which causes problems doing PTRs against it, expecting 'localhost'\n   but getting 'myhostname'\n\n\n2. Can't Create/Write to File (while building database)\n\n   ie: (using the \"Create tables\" step #2 above)\n   $ sudo /usr/local/mysql/bin/mysql mysqlfs \u003c schema.sql\n   ERROR 1 (HY000) at line 23: Can't create/write to file '/usr/local/mysql/data/mysqlfs/data_blocks.MYI' (Errcode: 13)\n\n   On MacOSX with http://dev.mysql.com/get/Downloads/MySQL-5.1/mysql-5.1.35-osx10.5-x86.dmg ,\n   rather than \"CREATE DATABASE mysqlfs\", I had to use:\n\n   $ sudo /usr/local/mysql/bin/mysqladmin create mysqlfs \u0026\u0026 sudo chown _mysql /usr/local/mysql/data/mysqlfs\n\n   The grant/flush commands worked fine after that.  In my usage, I'm \"sudo\" which can affect the output, so the\n   error might have been mine alone.  I'm commenting here in case someone else sees it.\n\n\nCopyright (C) 2006 Tsukasa Hamano \u003ccode@cuspy.org\u003e\nCopyright (C) 2006 Michal Ludvig \u003cmichal@logix.cz\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frootfs%2Fmysqlfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frootfs%2Fmysqlfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frootfs%2Fmysqlfs/lists"}