The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mysqladduserdb question

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

  1. neilh

    neilh Member

    Joined:
    May 30, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    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.

    Thanks!
    Neil
     
Loading...

Share This Page