Announcement

Collapse
No announcement yet.

New Install - db question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sremington
    Member
    • Sep 2006
    • 97

    New Install - db question

    Ok I got this error:

    Attempting to attach to database
    Connect failed: unexpected error from the database.
    Error number: 1044
    Error description: Access denied for user 'ushuycom_remdog'@'localhost' to database 'ushuycom_vb2008'
    Please ensure that the database and server is correctly configured and try again.
    My config.php is setup like this. Any ideas what I am doing wrong?:


    // ****** DATABASE TYPE ******
    // This is the type of the database server on which your vBulletin database will be located.
    // Valid options are mysql and mysqli, for slave support add _slave. Try to use mysqli if you are using PHP 5 and MySQL 4.1+
    // for slave options just append _slave to your preferred database type.
    $config['Database']['dbtype'] = 'mysql';

    // ****** 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'] = 'ushuycom_vb2008';

    // ****** TABLE PREFIX ******
    // Prefix that your vBulletin tables have in the database.
    $config['Database']['tableprefix'] = '';

    // ****** TECHNICAL EMAIL ADDRESS ******
    // If any database errors occur, they will be emailed to the address specified here.
    // Leave this blank to not send any emails when there is a database error.
    $config['Database']['technicalemail'] = '[email protected]';

    // ****** FORCE EMPTY SQL MODE ******
    // New versions of MySQL (4.1+) have introduced some behaviors that are
    // incompatible with vBulletin. Setting this value to "true" disables those
    // behaviors. You only need to modify this value if vBulletin recommends it.
    $config['Database']['force_sql_mode'] = false;



    // ****** 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'] = 'localhost';
    $config['MasterServer']['port'] = 3306;

    // ****** 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'] = 'ushuycom_remdog';
    $config['MasterServer']['password'] = '-removed-';

    // ****** MASTER DATABASE PERSISTENT CONNECTIONS ******
    // This option allows you to turn persistent connections to MySQL on or off.
    // The difference in performance is negligible for all but the largest boards.
    // If you are unsure what this should be, leave it off. (0 = off; 1 = on)
    $config['MasterServer']['usepconnect'] = 0;



    // ****** SLAVE DATABASE CONFIGURATION ******
    // If you have multiple database backends, this is the information for your slave
    // server. If you are not 100% sure you need to fill in this information,
    // do not change any of the values here.
    $config['SlaveServer']['servername'] = '';
    $config['SlaveServer']['port'] = 3306;
    $config['SlaveServer']['username'] = '';
    $config['SlaveServer']['password'] = '';
    $config['SlaveServer']['usepconnect'] = 0;
  • sremington
    Member
    • Sep 2006
    • 97

    #2
    Ah ha. I forgot to add permissions to my user in the db.

    Comment

    • copiertalk
      Senior Member
      • Oct 2005
      • 851
      • 3.7.x

      #3
      remove and then change your password man.
      www.Copiertalk.com - Everything Copier , Printer, Fax

      Comment

      • Nick
        Senior Member
        • Feb 2008
        • 3507
        • 3.8.x

        #4
        Originally posted by copiertalk
        remove and then change your password man.
        I highly recommend you do this... you have now exploited very sensitive information.
        Regards,
        Nick

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        😀
        🥰
        🤢
        😎
        😡
        👍
        👎