Announcement

Collapse
No announcement yet.

My config.php question....

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • My config.php question....

    I have gotten to step 3 of the install of my vbulletin. I get the following message.

    The database has failed to connect because you do not have permission to connect to the server. Please confirm the values entered in the 'includes/config.php' file.
    I am a noob with php, so this is pretty hard for me. If someone can review this, it would help a ton.

    // ****** DATABASE NAME ******
    // This is the name of the database where your vBulletin will be located.
    // This must be created by your webhost.
    $config['Database']['dbname'] = '';

    Is this my domain name. www.*******.com? Or is this my server host name "***.*****.com?

    // ****** MASTER DATABASE SERVER NAME AND PORT ******
    // This is the hostname or IP address and port of the database server.
    // If you are unsure of what to put here, leave the default values.
    $config['MasterServer']['servername'] = '********';
    $config['MasterServer']['port'] = 3306;

    Is this the server name i added to my domain? should it be "***.*****.com"?

    do i need to change the port?

    // ****** MASTER DATABASE USERNAME & PASSWORD ******
    // This is the username and password you use to access MySQL.
    // These must be obtained through your webhost.

    Is this the user name and password setup by my server? Does the username end in .com?




  • #2
    You don't put your domain name
    in this variable
    $config['Database']['dbname'] = '';

    you put "your cPanel username_database name here

    Comment


    • #3
      ok, so is the username i got from my server what goes there? ok, i changed it. i still get the following error.

      Error description: mysql_connect() [function.mysql-connect]: Access denied for user '*****'@'*****.***host.com' (using password: YES) /home/*****/public_html/Forums/includes/class_core.php on line 311

      Comment


      • #4
        you have created a database for your forum.. yes?.
        Simple Straight Forward EU cPanel vBulletin Web Hosting Provider.

        Comment


        • #5
          Originally posted by WEBDosser View Post
          you have created a database for your forum.. yes?.
          my friend that is allowing me to use his server set it up for me. but when he tells me stuff about it, i'm such a noob, it doesn't make sense. so this has been a slow process, since i have to learn as i go.

          Comment


          • #6
            well you dont need to add ".com" onto any line.. you need only..

            usename_dataname
            password

            so if your friend set it up ask him for these two and enter them in config.sys
            Simple Straight Forward EU cPanel vBulletin Web Hosting Provider.

            Comment


            • #7
              AARRRGGHHH!!!!!

              Stupid me for thinking this would be easy to set up.

              I still don't know what could be wrong with it.

              I still get this error.
              Error description: mysql_connect() [function.mysql-connect]: Access denied for user '*****@****'@'localhost' (using password: YES) /home/***/public_html/Forums/includes/class_core.php on line 311
              Last edited by get_nick; Sun 11th Jan '09, 1:51pm.

              Comment


              • #8
                The most likely cause of this error is that the info in your config.php file is wrong or your db user does not have full permissions to this database. Please read this for all the known causes of this error:

                http://www.vbulletin.com/forum/showthread.php?t=194542
                Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                Change CKEditor Colors to Match Style (for 4.1.4 and above)

                Steve Machol Photography


                Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                Comment


                • #9
                  I'm still having a lot of issues. is there someone/somewhere that can get on an IM program and help me?

                  Comment


                  • #10
                    We have no way of knowing what your info is. The next step is to contact your host for help with this.
                    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                    Change CKEditor Colors to Match Style (for 4.1.4 and above)

                    Steve Machol Photography


                    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                    Comment


                    • #11
                      Originally posted by Steve Machol View Post
                      We have no way of knowing what your info is. The next step is to contact your host for help with this.
                      Thank you for your support. I'll see what i can do.

                      Comment

                      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                      Working...
                      X