mySiteMaker

mySiteMaker is a collection of CGI tools written in Perl that rapidly create web interfaces to MySQL or PostgreSQL database tables. It started out as a "Lite" version of phpMyAdmin, which may sound silly and pointless because phpMyAdmin is such a great tool for administrators, BUT sometimes phpMyAdmin is overkill; especially when you want a web front end to a database and the intended users are the general public and not administrators. Since its beginning, however, many, many useful features have been added that make mySiteMaker an entirely different beast.

Features

For a list of added features and changes since mySiteMaker's initial release, check the CHANGELOG

Homepage

http://www.itlab.musc.edu/mySiteMaker/

Demo

Download

The latest version can be found at: ftp://ftp.itlab.musc.edu/pub/toolbox/mySiteMaker/.

Dependencies

Besides the obvious requirement of having a database, MySQL or PostgreSQL and a webserver installed, mySiteMaker requires:

The following are required if you want to be able to export CSV and Excel:

Install

  1. Untar the tar.gz file:
    shell> tar -xzvf mySiteMaker-X.X.tar.gz
    
  2. Change directories to the mySiteMaker-X.X directory:
    shell> cd mySiteMaker-X.X
    
  3. Make the Makefile:
    shell> perl Makefile.PL
    
  4. Make yourself root:
    shell> su root
    
  5. Run the install script:
    shell# make install
    
    The install script will ask you several questions about where it should set up and install files.

Use

Once you install mySiteMaker, you can start using it by following the link printed at the end of the install. This link usually looks like this:

http://localhost/mySiteMaker/new_site.html

Notes

  1. See the FAQ for general concerns.
  2. If, while using mySiteMaker, you are getting errors like:

    ERROR 1045: Access denied for user: 'username@localhost' (Using password: YES)
    

    then it is possible that the permissions on the MySQL server will need to be configured to accept connections to the database you want to make a front end for from the computer you installed mySiteMaker on.

    For mySiteMaker to work, you need to have a MySQL user that has SELECT privileges for the table that you want to create a web interface for. A simple, web-based, method for creating users with limited permissions can be found at: MySQL Users.

  3. SECURITY NOTE: The usernames and passwords to do the searches (not the adding or editing) are stored in text file in WORLD READABLE text files in the cgi-bin directory. Thus, you may want to make sure that the username and password that you use for each database table has only SELECT privileges. Or make them readable only to the Apache user, but that is a risk as well. Web server security is not a focus of this document; please make sure you know what you are doing.

Bug Reporting

If you run into a problem that you think might be a bug, feel free let us know by filing a bug report. mySiteMaker continues to improve through help from users.