How can I configure FeedZcollector for a MySQL database?
- Install FeedZcollector on your Windows PC or server.
- Be sure that you have ‘administrator’ access to a
MySQL server.
- Open the folder where FeedZcollector is installed.
The default folder is c:/Program
Files/FeedZcollector.
- Run the script ‘FeedZcollector.sql’ on this server. A
new database named ‘FeedZcollector’ will be created. The
database contains the tables ‘Feeds’, ‘Items’ and
‘Enclosures’.
- Open the file ‘fcs.exe.config’ in the resources
directory.
This directory is located at c:/Program Files/FeedZcollector/Resources/. - Comment out the line containing the MS Access
Database connection string (line 5).
- Remove the substrings
'<!--' at the beginning, and
'-->' at the end of the line
containing the MySQL Database connection string (line 6).
- Change the value of the key ‘Database’ to ‘MySQL’.
- Change the value of the key ‘Connectionstring’. It
already contains a MySQL database connection string
example.
Only three parameters have to be changed before FeedZcollector can gain access to the database
- SERVER=[Hostname]: Replace
'[Hostname]' by the name or the ip-address of the
server where the MySQL database is hosted
- UID=root: Replace 'root' by a
string containing the name of the MySQL account that
gives access to the database
- PASSWORD=: Fill in the string
containing the appropriate password
- Leave the rest as it is.
- Save and close the configuration file.
- Restart FeedZcollector using the FeedZcollector
administrator. If correctly configured, the icon in the
system tray should turn 'green'. Otherwise it stays
‘red’.
Related support information:
» Where can I download the default config file (fcs.exe.config)?