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.

MySQL Problems

Discussion in 'General Discussion' started by Vemundeez, Dec 4, 2008.

  1. Vemundeez

    Vemundeez Registered

    Joined:
    Dec 4, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Kk, I'm going to setup a dj panel.. i have all the files for it! But when i make a Database and those things it can't connect!

    I go on Databases > MySQL Databases > Then i make a database!

    Then i go to the install file who is: http://www.welcomehabbo.com/staff/install.php?stage=1

    MySQL Username:


    MySQL Password:


    MySQL Database:


    MySQL Hostname: (leave if unsure)


    Then i put in everything and get this error:
    Now we will test that you've entered valid MySQL database information and if it's correct, we'll configure the config.php file (which must be CHMOD to 777 by now!).Congratulations! We have successfully connected to the MySQL Server!

    Connected! Connection to MySQL database successful.Could not write to configuration file. Please CHMOD the file 'config.php' to 0777 or 777!


    WTF DOES THAT MEANS? And someone know the problem! Is the MySQL Hostname always localhost?
     
  2. Sys Admin

    Sys Admin Well-Known Member

    Joined:
    Apr 29, 2007
    Messages:
    67
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Did you try to set 777 permissions on the config file?


    Try: chmod 777 config.php

    Regards,
     
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    The software you are installing does not have permission to update the config.php file. YOu will need to access that file, using FTP, WebDav or the cPanel File Manager, then change the Permissions of the file to 0777. Once that is done, the software installer can update the configuration file.
     
Loading...

Share This Page