Please reply using this URL only: http://bugs.wpkg.org/show_bug.cgi?id=61





------- Additional Comments From [EMAIL PROTECTED]  2007-03-09 16:08 -------
Created an attachment (id=32)
 --> (http://bugs.wpkg.org/attachment.cgi?id=32&action=view)
saveMySQL function, to be included from end of main()

The function attached writes the installed packages and versions to a database
table.

Dependencies:
* config parameters mySqlHostName, mySqlUserName and mySqlPassWord;
* SQL to create table:
CREATE TABLE IF NOT EXISTS `installed_packs` (
  `hostname` varchar(100) character set utf8 NOT NULL,
  `package_idtxt` varchar(100) character set utf8 NOT NULL,
  `version` int(10) unsigned NOT NULL,
  KEY `package_idtxt` (`package_idtxt`),
  KEY `hostname` (`hostname`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- 
Configure bugmail: http://bugs.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users

Reply via email to