NONE TITLE index.html
Keywords: NONE TITLE,fml, flexible mailing list manager, not listserv style but fmlserv emulates listserv or majordomo style

[______TOC_______] [NEXT CHAPTER]

    	Access to relatonal database systems

    1.1	what you need
    1.2	config.ph sample
    1.3	some pointers
    2.1	config.ph samle

    Appendix A	toymodel
    Appendix A.1	PostgreSQL Case
    Appendix A.2	MySQL Case

See ../LDAP 1.0 for LDAP access. 1.1 what you need

    	/usr/local/fml/databases/postgresql/Pg_toymodel.pl
    	/usr/local/fml/databases/postgresql/DBI_toymodel.pl

    1.2	config.ph sample

    	$DATABASE_DRIVER

    is the library file name. It has all raw level codes to access RDBMS
    server. By default, the file is

    	/usr/local/fml/databases/postgresql/toymodel.pl

    If you prepare your own customized file, it is better to use another
    file.

    	/var/spool/ml/etc/fml/mysqldriver.pl

    For example,

    $USE_DATABASE        = 1;
    $DATABASE_METHOD     = 'PostgreSQL';
    $SQL_SERVER_HOST     = 'postgres.fml.org';
    $SQL_SERVER_USER     = 'fukachan';
    $SQL_DATABASE_NAME   = 'fml';
    $DATABASE_DRIVER     = 'mysqldriver.pl';

    1;

    fully expaned PATH is avaialble.

    $DATABASE_DRIVER     = '/var/spool/ml/etc/fml/mysqldriver.pl';

    1.3	some pointers

    http://www.sra.co.jp/people/t-ishii/
    ftp://ring.so-net.ne.jp/
    ftp://ring.asahi-net.or.jp/
    http://member.nifty.ne.jp/hippo2000/

2.1 config.ph samle

    	$DATABASE_DRIVER

    is the library file name. It has all raw level codes to access RDBMS
    server. By default, the file is

    	/usr/local/fml/databases/mysql/toymodel.pl

    If you prepare your own customized file, it is better to use another
    file.

    	/var/spool/ml/etc/fml/mysqldriver.pl

    For example,

    $USE_DATABASE        = 1;
    $DATABASE_METHOD     = 'mysql';
    $SQL_SERVER_HOST     = 'mysql.fml.org';
    $SQL_SERVER_USER     = 'fukachan';
    $SQL_SERVER_PASSWORD = 'uja';
    $SQL_DATABASE_NAME   = 'fml';
    $DATABASE_DRIVER     = 'mysqldriver.pl';

    1;

    fully expaned PATH is avaialble.

    $DATABASE_DRIVER     = '/var/spool/ml/etc/fml/mysqldriver.pl';

[______TOC_______] [NEXT CHAPTER]