#1 (permalink)  
Old 05-25-2008, 04:46 PM
Registered User
 
Join Date: Jan 2002
Posts: 47
rbro
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!
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-25-2008, 05:55 PM
Registered User
 
Join Date: Jan 2002
Posts: 47
rbro
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?
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-26-2008, 11:23 AM
cPanelDavidG's Avatar
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 7,995
cPanelDavidG is on a distinguished road
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.
__________________
Want our technical analysts to login to your server to assist you? You can contact our technical analysts at: http://tickets.cPanel.net/submit
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-26-2008, 11:24 AM
cPanelDavidG's Avatar
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 7,995
cPanelDavidG is on a distinguished road
** Merged Duplicate Threads **
__________________
Want our technical analysts to login to your server to assist you? You can contact our technical analysts at: http://tickets.cPanel.net/submit
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-01-2008, 09:49 PM
Registered User
 
Join Date: Jan 2002
Posts: 47
rbro
Thanks. Anyone around here do this kind of scripting?
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 06-02-2008, 03:59 AM
Registered User
 
Join Date: Jul 2006
Posts: 10
shammi1234 is on a distinguished road
Hello rbro,

Hi can do this for you.

please let me know if you are interested.

Regards,
Sham
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 06-02-2008, 12:44 PM
Registered User
 
Join Date: Nov 2004
Posts: 16
Dawzz is on a distinguished road
I would be interested. Please pm details as to cost and time frame.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 06-03-2008, 01:59 PM
WebScHoLaR's Avatar
Registered User
 
Join Date: Dec 2005
Location: Planet Earth
Posts: 473
WebScHoLaR is on a distinguished road
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


"If you want to travel around the world and be invited to speak at a lot of different places, just write a UNIX Operating System."
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 06-22-2008, 02:50 AM
Registered User
 
Join Date: Jun 2008
Posts: 5
jessica87 is on a distinguished road
try on

Try on freelance sites like scriptlance... plenty of programmers over there.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 09-02-2009, 12:55 AM
Registered User
 
Join Date: Nov 2006
Posts: 5
bronco92 is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 11-06-2009, 02:15 PM
Registered User
 
Join Date: Nov 2009
Posts: 1
huggys is on a distinguished road
I'm looking for this as well. If anyone out there can do this, please PM me.

Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:48 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc