Jump to content

Creating MYSQL Database?


theonethatownz

Recommended Posts

  • 8 months later...
We use a script with tcadmins billing module to create a database on cPanel. edit the default_values.php to submit information to cpanel WHM

 

Not a good idea, I said this to Luis:

 

Kyle:

 

I'm thinking about creating the database and user in 'default_values.php'.

 

Would that work?

 

Luis:

 

No the code in that file gets included with every action the module executes. it would create duplicate databases.

Link to comment
Share on other sites

Sorry i was meant to say its included into the tcadmin2_advance.php file. it will only be submitted if its selected. works well. i would suggest on doing it this way as it works perfectly fine.

 

How do you know when to delete the database?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Who's Online   0 Members, 0 Anonymous, 14 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use