Freeside demo information

Ivan Kohler ivan at sisd.com
Sat Jun 5 18:11:19 PDT 1999


On Fri, Jun 04, 1999 at 10:24:44PM -0300, Lance Cavener wrote:
> 
>  Can you explain to me what this datasrc thing is,

See the DBI manpage, and the DBD manpage for your database engine
(DBD::mysql, DBD::Pg, etc.).

See <http://www.sisd.com/freeside/list-archive/msg00546.html> also.

HTH.

> and what do I put in
> counters.datasrc and export.datasrc? That part is a little vauge.

Just make the directories.  ;)

counters.<datasrc> is used to for unique primary keys, because there isn't
a standard way across different databases (DBD's) to get the
auto-incremented key for inserted rows.  If your database supports this,
you could put a check in `sub unique' in site_perl/FS::Record and use the
database-specific method instead.

export.<datasrc> is where the export scripts place the generated passwd,
shadow, RADIUS, qmail and sendmail configs, and so on.  See
htdocs/docs/export.html. 

> On Fri, 4 Jun 1999, Ivan Kohler wrote:
> 
> > On Fri, Jun 04, 1999 at 09:52:42AM -0300, Lance Cavener wrote:
> > >   Yup. But I'll tell you, I'm absolutely stuck on getting MySQL working 
> > > with freeside. I got it installed, and read the documentation over a couple 
> > > of times (now I'm an expert at SQL query statements) but I just can't 
> > > figure out how to "add the freeside database to mysql". <shrug>
> > 
> > The link to the MySQL documentation for that may be broken in the current
> > version - they seem to update those pretty frequently.
> > 
> > Try http://www.mysql.com/Manual_chapter/manual_Syntax.html#Create_database
> > 
> > Worth getting the latest htdocs/docs/install.html from CVS, which has a
> > couple of fixed links.  (submitted shortly after 1.2.1 release). 
> > 
> > >   I'm working on it though. I want to get freeside configured so I can 
> > > learn how to use it and eventually contribute to the project.
> > 
> > Cool!
> > 
> > -- 
> > Ivan Kohler <ivan at sisd.com> - finger for PGP key - <moc.dsis at navi> Relhok Navi
> > Open-source billing and administration for ISPs - http://www.sisd.com/freeside
> > 20 4,16 * * * saytime # please don't be surprised if you find me dreaming too
> > 
> 

-- 
Ivan Kohler <ivan at sisd.com> - finger for PGP key - <moc.dsis at navi> Relhok Navi
Open-source billing and administration for ISPs - http://www.sisd.com/freeside
20 4,16 * * * saytime # please don't be surprised if you find me dreaming too



More information about the freeside-users mailing list