Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    May 2009
    Location
    Marysville
    Posts
    7

    Post postwwwacct auto create Mysql DB

    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. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jul 2005
    Location
    New Jersey, USA
    Posts
    397

    Default

    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.

Similar Threads & Tags
Similar threads

  1. Auto-Creation Of MySQL DB with postwwwacct
    By Tyler.S in forum cPanel Developers
    Replies: 21
    Last Post: 05-03-2011, 06:27 AM
  2. Auto Setup Default Email Address with postwwwacct
    By musosmiffy in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 03-09-2011, 09:15 AM
  3. can't get postwwwacct to create e-mail account with php
    By noimad1 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-12-2010, 06:38 PM
  4. postwwwacct Auto-create DB, DB User, Grant Access
    By CreedFeed in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-27-2007, 12:43 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube