This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

Create a Second Database


  1. msfbiz
    Member

    I'd like to install another instance of Machform on the same domain.

    The reason is that I want to have an outside person create his own form and use Machform to add and edit record entries without being to see the entries for the forms I've already created on my side.

    I believe a second database for the second instance should be created.

    Which files should I edit and how in order to achieve that purpose?

    Thanks!
    Mike

    Posted 13 years ago #
  2. redityo

    Hi Mike,

    Yes, you're right. You need to create second database for this. Then do the installation with second machform instance (folder). However, some files should be edited since it use same session name. Basically, you need to change this session name:

    $_SESSION['logged_in']

    into like this

    $_SESSION['logged_in_b']

    But if you can create a sub domain, I think it will be easier to do.


    MachForm Support

    Posted 13 years ago #
  3. msfbiz
    Member

    Thanks for the reply.

    In order to create a second database, will it be automatically created when I install the second machform instance in another folder, without erasing the first database?

    Or do I need to create/duplicate the database manually?

    Posted 13 years ago #
  4. yuniar

    You will need to manually create a new empty database and then configure your second MachForm config file to use this new database. Then run the installer script again.


    MachForm Founder

    Posted 13 years ago #

RSS feed for this topic

Reply