Davor Posted May 14, 2021 Share Posted May 14, 2021 Hello, is there a module or a way to create a MySQL user & database automatically for the newly created cPanel account? Thanks, Davor 0 Quote Link to comment Share on other sites More sharing options...
WebSoftSolus.fr Posted July 11, 2023 Share Posted July 11, 2023 Hi, You can find your module available here to create a database with a user automatically. It will be outside of cPanel https://marketplace.whmcs.com/product/6961-mysql-server-provisioning Regards, Dylan | www.websoftsolus.fr 0 Quote Link to comment Share on other sites More sharing options...
Billy Goddard Posted July 14, 2023 Share Posted July 14, 2023 On 5/14/2021 at 9:21 PM, Davor said: is there a module or a way to create a MySQL user & database automatically for the newly created cPanel account? Hello, Yes, there is a way to create a MySQL user and database automatically for a newly created cPanel account. cPanel provides an API called "UAPI" (User API) that allows programmatic interaction with cPanel functions. Using the UAPI, you can develop a script or module that integrates with the cPanel API and automates the process of creating a MySQL user and database for each new cPanel account. This can be done by sending appropriate API requests to the cPanel server with the necessary parameters for creating the user and database, such as username, password, and privileges. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.