Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-842

Ambiguous documentation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • ManifoldCF 1.4.1
    • ManifoldCF 1.5
    • Documentation
    • None

    Description

      The documentation is lacking the following instructions for running the initialize.sh script when the database is located on a remote server. For example, we created a MySQL database on a different server than where we installed manifoldCF. When executing the initialze.sh script, the database was created, as well as the user; however, the user was created with client access of "localhost" by default. When the script got to the "creating tables" phase as the user, instead of the admin user, it received an "access denied". After looking through the code, I saw that the following setting should be set in properties.xml:

      <property name="org.apache.manifoldcf.mysql.client" value="%"/>

      The % sign indicates that the user can login to the mysql host from anywhere. I could have put the ip address of the server where I am running manifoldCF as well, but we have no particular security concerns in our dev environment.

      After setting this, the script ran successfully.

      Thanks,
      Chris Griffin

      Attachments

        Activity

          People

            kwright@metacarta.com Karl Wright
            chrisgriffin17@comcast.net Chris Griffin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: