Forums

db access denied (5 posts)

  1. stoilov
    Member
    Posted 3 years ago #

    hello pals,

    ive installed a lot of wordpress blogs but this time something strange is happening.

    everything in the config file is correct.

    but when i try to finish the installation i see this message

    ordPress database error: [Access denied for user 'XXX'@'localhost' to database 'XXX']

    ...for every file!

    what can i do?

  2. Samuel B
    moderator
    Posted 3 years ago #

    Hi,
    I removed your url because I got your install page and didn't want someone "helping you out".
    are you still seeing that?
    if so, clear browser cache and site cookies

  3. stoilov
    Member
    Posted 3 years ago #

    thank you.

    yes, i see that. i tried to clear cache, cookies and so on.
    still the same.

    i am putting some blog title, giving an email and when i click on "install wordpress" i see this:

    WordPress database error: [Access denied for user '****'@'localhost' to database '****']
    CREATE TABLE wp_terms ( term_id bigint(20) NOT NULL auto_increment, name varchar(200) NOT NULL default '', slug varchar(200) NOT NULL default '', term_group bigint(10) NOT NULL default 0, PRIMARY KEY (term_id), UNIQUE KEY slug (slug), KEY name (name) ) DEFAULT CHARACTER SET utf8
    
    WordPress database error: [Access denied for user '****'@'localhost' to database '****']
    CREATE TABLE wp_term_taxonomy ( term_taxonomy_id bigint(20) NOT NULL auto_increment, term_id bigint(20) NOT NULL default 0, taxonomy varchar(32) NOT NULL default '', description longtext NOT NULL, parent bigint(20) NOT NULL default 0, count bigint(20) NOT NULL default 0, PRIMARY KEY (term_taxonomy_id), UNIQUE KEY term_id_taxonomy (term_id,taxonomy) ) DEFAULT CHARACTER SET utf8
    
    WordPress database error: [Access denied for user '****'@'localhost' to database '****']
    CREATE TABLE wp_term_relationships ( object_id bigint(20) NOT NULL default 0, term_taxonomy_id bigint(20) NOT NULL default 0, term_order int(11) NOT NULL default 0, PRIMARY KEY (object_id,term_taxonomy_id), KEY term_taxonomy_id (term_taxonomy_id) ) DEFAULT CHARACTER SET utf8

    ....and tons more of these...

  4. Samuel B
    moderator
    Posted 3 years ago #

    ok - you need to add the user to the database with ALL privileges
    here is a guide for cpanel - you can adapt it to whatever control panel you have
    http://codex.wordpress.org/Using_cPanel

  5. buckmajor
    Member
    Posted 2 years ago #

    Cool! I got stuck installing WP too, the exact same error. I thought I forgotten to add ALL privileges. Thanks samboll

Topic Closed

This topic has been closed to new replies.

About this Topic