The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

postwwwacct auto create Mysql DB

Discussion in 'General Discussion' started by msd25, Jun 23, 2009.

  1. msd25

    msd25 Member

    Joined:
    May 15, 2009
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Marysville
    So I have a postwwwacct that gets passed variables that will e-mail the client their new account info. What I would like to do is take these variables and create a Mysql DB and user that is 'user'_moodle. (Moodle will not auto create a DB during it's installation on a Cpanel server, and no I do not want Fantastico.)

    I need to have the account creation and DB/User creation automated to reduce my admin overhead. I have looked across the forums and found the API stuff but nothing seems to be straight forward for the way I want to do it. Everything else simple says to look at the hooks or they are for PHP. I just want it done inside the postwwwacct script.

    Anybody got anything I can use?
     
  2. PlatinumServerM

    PlatinumServerM Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2005
    Messages:
    397
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    New Jersey, USA
    cPanel Access Level:
    Root Administrator
    I'm not sure of any scripts readily available that you can use for this. You may have to make one from scratch. It should be very easy for a programmer to do in just a few lines.
     
Loading...

Share This Page