Auto Create SQL Database & Contents

Discussion in 'Site & Server Administration' started by bigpapa, Nov 7, 2008.

  1. #1
    We all know with WHM you can create a skeleton directory for all new cpanel accounts.

    I was wondering if it was possible to setup a MySQL database and have it automatically installed when a new cpanel account is created as well.

    For example, if I have a particular script that uses a database, I would like to automatically "install" that script when a cpanel account is created through WHM.

    If there are any scripts/cronjobs/etc. that could do this I would love to know about it.

    Thanks.
     
    bigpapa, Nov 7, 2008 IP
  2. bigpapa

    bigpapa Banned

    Messages:
    273
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I would be willing to pay if someone could show me or create some script/cron that would create and setup a database automatically when a cpanel account is created through WHM to include it with the skeleton files.
     
    bigpapa, Nov 8, 2008 IP