• Resolved crlannen

    (@crlannen)


    This actually would apply to almost any version of WordPress.

    I was told today that WordPress actually stores the database information (name of the database), database user and database password in the database.

    I know that the salt keys are stored in the wp_options table.

    Is it true?

Viewing 7 replies - 1 through 7 (of 7 total)
  • esmi

    (@esmi)

    I was told today that WordPress actually stores the database information (name of the database), database user and database password in the database.

    No it doesn’t. They are only stored in the wp-config.php file.

    Thread Starter crlannen

    (@crlannen)

    That’s what I told them, but they insist it’s stored in a user table. I know there’s a table for MySQL users, but that has nothing to do with WordPress in and of itself.

    esmi

    (@esmi)

    Who is “they”?

    Thread Starter crlannen

    (@crlannen)

    It’s on a list I belong to. A couple of different peopl keep insisting it’s stored in the database.

    esmi

    (@esmi)

    The only things that are stored in the users table are:

    Login username
    Password (one-way encrypted)
    Nicename (an internally user variant of the username)
    User’s email address (as defined in their profile)
    User’s web site url (as defined in their profile)
    The date the user registered on the site
    An activation key (used when someone asks for a new password via the Forgot Password link)
    Status (not linked to their role on the site – not sure what this one is for off the top of my head)
    Display Name (as defined in their profile)

    There’s also a relational usermeta table that stores more details specific to that user profile but nothing that relates to the database details.

    Not sure which list this is but I’m confused as to why anyone would think of storing details to access a database in that database. What use would that be?

    Thread Starter crlannen

    (@crlannen)

    I am seriously thinking that they are confusing a database user with a WordPress user.

    Well I’ve sent off an email to Matt and asked him. Hopefully I will hear back, and I will post his reply. If he replies.

    Thread Starter crlannen

    (@crlannen)

    Heard from Matt. It is absolutely not stored in the database.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Database user, databae user password and database’ is closed to new replies.