Announcement

Collapse
No announcement yet.

Error 1046 -- Fresh Install

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

  • Error 1046 -- Fresh Install

    Hi,
    I'm trying to install VB onto my site at the moment, and I'm getting Error 1046, which is claiming that I've either got my details incorrect, or the server is not configured correctly. I know that my config.php file is correct, as it's using the same database as my CMS. I've contacted my host, HostGator, and they are stating that there are no mySQL or Database errors at the moment.

    Below are the areas which I assume are the important details in the config file to get correct.

    Any idea what's going wrong?

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

        
    //    ****** MASTER DATABASE USERNAME & PASSWORD ******
        //    This is the username and password you use to access MySQL.
        //    These must be obtained through your webhost.
    $config['MasterServer']['username'] = 'rau7u_site';
    $config['MasterServer']['password'] = 'My Password'

  • #2
    What is the exact and complete error?
    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


    • #3
      It's just the standard Step 2 Error:
      Step 2) Connect to the database Attempting to attach to database
      Connect failed: unexpected error from the database.
      Error number: 1046
      Error description: No database selected
      Please ensure that the database and server is correctly configured and try again.
      I really have no idea what I'm doing wrong either, it's not like I'm new to installing forums in general, just VB.

      Comment


      • #4
        Error description: No database selected

        The info in your config.php file is wrong.
        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


        • #5
          Like I've already said, I know that it's correct. Which is the trouble. It's the same database as I'm using for my Mambo CMS, and I'm planning on using the addon VBridge for it, so I need to have them in the same database. The database username and password are active and working in Mambo, so I've pulled it across to the VBulletin config file. Which is why I can't understand why it's not working.

          Comment


          • #6
            Honestly I know of no other reason for this error:

            Error description: No database selected

            And I've been doing this for over 4 years now. I don't know what else to recommend but I'll ask if anyone else on the support staff knows something I don't.
            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


            • #7
              The problem is that you've edited this line:

              $config['Database']['site'] = 'rau7u_site';

              Change that to:

              $config['Database']['dbname'] = 'rau7u_site';
              Best Regards
              Colin Frei

              Please don't contact me per PM.

              Comment


              • #8
                Such a simple error.

                Thanks for all of your help, you've been awesome .

                Comment


                • #9
                  We need to somehow find a way to make it clear that only the right side of the = sign should be edited.
                  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


                  • #10
                    In big capital letters just above each editing point? I know that most people don't even read the top "disclaimer" part.

                    Comment

                    Working...
                    X