Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    Member
    Join Date
    Jan 2002
    Posts
    47

    Default Automated mySQL DB creation script?

    I need a script or add-on to WHM that will give the reseller an option of having a mySQL DB automatically created upon account creation. Does this already exist somewhere? If not, how would I go about getting it done (if it's possible to do)

    Thanks!

  2. #2
    Member
    Join Date
    Jan 2002
    Posts
    47

    Default Automatic DB creation script

    I need a script that will automatically create a mySQL DB upon account creation in WHM. Does it exist? Doable? Can someone point me in the right direction?

  3. #3
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by rbro View Post
    I need a script that will automatically create a mySQL DB upon account creation in WHM. Does it exist? Doable? Can someone point me in the right direction?
    You can create a hook script (/scripts/postwwwacct) as described here:

    http://www.cpanel.net/support/docs/hooks.htm#postwww

    owner would be the username of the reseller. Using postwwwacct will allow you to do this and whatever else you desire upon account creation.

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    ** Merged Duplicate Threads **

  5. #5
    Member
    Join Date
    Jan 2002
    Posts
    47

    Default

    Thanks. Anyone around here do this kind of scripting?

  6. #6
    Member
    Join Date
    Jul 2006
    Posts
    10

    Default

    Hello rbro,

    Hi can do this for you.

    please let me know if you are interested.

    Regards,
    Sham

  7. #7
    Member
    Join Date
    Nov 2004
    Posts
    16

    Default

    I would be interested. Please pm details as to cost and time frame.

  8. #8
    Member WebScHoLaR's Avatar
    Join Date
    Dec 2005
    Location
    Planet Earth
    Posts
    506

    Default

    Quote Originally Posted by rbro View Post
    I need a script or add-on to WHM that will give the reseller an option of having a mySQL DB automatically created upon account creation. Does this already exist somewhere? If not, how would I go about getting it done (if it's possible to do)

    Thanks!
    I have already written such a script for one client and it works perfectly. Creates a database and a database user and imports a dump into that new database and populates a config file with database credentials. Please PM me if you are interested.

    Regards,
    WebScHoLaR

    WebHosting Blog: http://WebScHoLaR.net

  9. #9
    Member
    Join Date
    Jun 2008
    Posts
    5

    Default try on

    Try on freelance sites like scriptlance... plenty of programmers over there.

  10. #10
    Member
    Join Date
    Nov 2006
    Posts
    12

    Default

    I'm looking for this script now too. If anyone who can do it for me could send an email to contact@mywork.com.au it would be appreciated. Thanks.

  11. #11
    Registered User
    Join Date
    Nov 2009
    Posts
    2

    Default

    I'm looking for this as well. If anyone out there can do this, please PM me.

    Thanks!

Similar Threads & Tags
Similar threads

  1. Automation via bash script (mysql creation)
    By fergusweb in forum Database Discussions
    Replies: 0
    Last Post: 09-24-2010, 09:07 PM
  2. Automation via bash script (mysql creation)
    By fergusweb in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-24-2010, 09:07 PM
  3. Automated Account Creation
    By Artifice in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 09-18-2004, 04:57 AM
  4. how to script MySQL db and user creation?
    By craigh in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-05-2004, 09:09 PM
  5. automated account creation script located at www.nixt.org
    By anand_gupta in forum cPanel and WHM Discussions
    Replies: 15
    Last Post: 06-23-2002, 09:43 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube