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!

Cant create mysql db via php?

Discussion in 'General Discussion' started by adivity, Jul 4, 2005.

  1. adivity

    adivity Member

    Joined:
    Jul 6, 2004
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    151
    Hey,

    In php, im attempting to create a mysql database using a username/password that has been granted all permissions.

    The problem is, it wont let me create a database unless im using the root user/pass.

    Is there a way around this?
     
  2. kosmo

    kosmo Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    403
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    All over Europe
    Only root can create a mysql db.

    kosmo
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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