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.

Please help me

Discussion in 'General Discussion' started by dom182, Aug 17, 2004.

  1. dom182

    dom182 Member

    Joined:
    Nov 12, 2003
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    india
    Hello,

    I have installed php apache as well as mysql.But still i am unable to connect php through mysql i get mysql_connect() error

    Please help me
     
  2. Etheral

    Etheral Well-Known Member

    Joined:
    Dec 8, 2003
    Messages:
    208
    Likes Received:
    0
    Trophy Points:
    16
    okay, make sure you have your apache built correctly first off, and make sure your PHP script is correct, and that you have actually made the MySQL database... if all of that is correct, and you still cannot connect to the database try resetting the MySQL root password, you can do this in WHM here is the page tree:

    Main >> Mysql >> Reset Local MySQL Root Password


    that should work.
     
Loading...

Share This Page