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!

What's the best way to install database on a cpanel based server?

Discussion in 'General Discussion' started by hungboy, Mar 27, 2006.

  1. hungboy

    hungboy Registered

    Joined:
    Mar 26, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    151
    Hi All,

    I have posted this before in a wrong place, so I repost it here. Hope anyone can help me.

    I have finished a site with mysql database, and I'm writing a install script for it.
    The problem I meet is that when I create a database in my script, it has a 1044 error. The site is using cpanel. And I searched in this site and found it can't create a user with the permission of create a db.
    But can I use the root user to create the db in my script? I tryed but failed. The user I use the one used to login cpanel. And something strange is that the first serveral times I tryed were successed, but then I havn't the lucky.

    Any advice will be appreciated!
     
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