• Resolved csdickson86

    (@csdickson86)


    So I am getting this:

    Error establishing a database connection
    This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost. This could mean your host’s database server is down.

    Are you sure you have the correct username and password?
    Are you sure that you have typed the correct hostname?
    Are you sure that the database server is running?
    If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.

    Try again

    I need help knowing what to put in here (Dont know what to put for DB Host or Table Prefix, need examples):

    Below you should enter your database connection details.

    Database Name
    User Name
    Password
    Database Host
    Table Prefix

Viewing 6 replies - 1 through 6 (of 6 total)
  • The prefix can be whatever you want it to be, but it’s normally set up as “wp_” to start with.

    The other values for DB name, host, username and password are all something that you have to ask your hosting company about. They are different from server to server so there’s never one value that will work for everyone.

    If you’re having these problems, your best bet is to start over again and do a one-click install of WordPress. With a one-click install, you won’t have to worry about any of these details.

    Who is your host? At this point, most of the major hosting companies offer one-click installs. Look for the SimpleScripts or WordPress links from your cPanel.

    Thread Starter csdickson86

    (@csdickson86)

    Thats my problem… there is no 1 click install. Thats what I usually do and its not really hard, but this is a contract job and I am trying to work with the people who host their site. It really sucks, but I am trying to get them to update stuff. If not then I think I will just have to inform them to get a new host. Thanks for the help.

    If you can access phpMyAdmin and cPanel, you can do the following:

    – From phpMyAdmin: Create a database
    – From cPanel – MySQL Databases: Create a MySQL user
    – From cPanel – MySQL Databases: Add that MySQL user to the new database
    – Add the database name, user name, and user password to the wp-config file. Just be sure to add the hosting account prefix.
    – DB host is probably: localhost

    The bottomline: if you’re not doing a one-click install you need to create the following:
    – database
    – user
    – password

    Thread Starter csdickson86

    (@csdickson86)

    Thanks. Thats basically my plan. Problem is that their phpMyAdmin is so far out of date that it doesnt have some of those features (I think its like 2.11.10 and the current version is 3.5.5), so I informed them of this and I hope they will update it. If they do, then I can follow those steps. Thanks again.

    Thread Starter csdickson86

    (@csdickson86)

    Figured out the problem with the host provider. It was a mislabeling on their part. Thanks guys!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘First WP install error’ is closed to new replies.