Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

mysqladduserdb question

Discussion in 'General Discussion' started by neilh, Oct 22, 2004.

  1. neilh

    neilh Member

    May 30, 2003
    Likes Received:
    Trophy Points:
    Hey cPanel support.

    In the cpanel mysql admin page, when you add a db named "dbname" it creates a database with name "username_dbname" and then create a mysql user that matches the cpanel user/pass with access to that db.

    The script mysqladduserdb is different b/c it does not allow you to give the database a name. it names it the username. What script is used by the cpanel page that lets you give the db a name? I could just create my own version of the script for this purpase, but I first wanted to check that it wasn't already there somewhere.


Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice