Viewing 11 replies - 1 through 11 (of 11 total)
  • no you dont.

    have you installed mysql?

    I reccomend you take a look at this:

    https://www.ads-software.com/about/requirements/

    Thread Starter dwieeb

    (@dwieeb)

    It doesn’t look like you’ve installed WP yet. Try running install.php.

    Is what it says. When I clicked install.php it said:

    Parse error: parse error, unexpected $end in C:\Program Files\xampp\htdocs\dwieeb\wp-includes\locale.php on line 40

    What do I have to do with sql stuff? Doesn’t my host manage that?

    You have to make a new MySQL database with name “mywordpress” then create & assign a user “sampleuser” to it.

    Then you should edit the wp-config.php:

    DB_NAME mywordpress
    DB_USER sampleuser
    DB_PASSWORD asigned_password
    DB_HOST localhost

    Just an example.

    Thread Starter dwieeb

    (@dwieeb)

    Ok I created a mysql account, and filled in my username and pass. Now its saying:

    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.

    for starters:

    this IP, that you provided in your first post : [24.31.236.57 >> cpe-24-31-236-57.we.res.rr.com] — thats YOUR ip, or the IP of someone else thats trying to host a wordpress on a cable site.

    So lets clarify things, where is your blog being hosted?

    Thread Starter dwieeb

    (@dwieeb)

    One of my friends.

    Thread Starter dwieeb

    (@dwieeb)

    * 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?

    Yes, yes and yes.

    Thread Starter dwieeb

    (@dwieeb)

    What do I need to do with the mysql account? Thats my username and password right?

    Thread Starter dwieeb

    (@dwieeb)

    Anyone care to help? ??

    DB_PASSWORD assigned_password
    DB_HOST localhost

    These will be provided by your hosting provider. The password is just that, and the host will be something like db1.myfriendhosting.com

    Input that info & see what happens.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Alright. Short version:

    WordPress is the blog. However, it is not the *content* of the blog. The content is actually stored in the mySQL database.

    In order for it to find the content so it can then display it, it needs to know where the database is. So you need to give it the username and password, the database name, and the name or IP of the box where the database is running. All that is in the wp-config.php file.

    This is not something you can guess at. If you have a database running somewhere, then these four bits of information are going to come from wherever you have that database running. If the database is on the same machine as the webserver, then the host will be “localhost”, because that means that it’s connecting to itself. If it’s on a different machine, you need to use the name or IP of that different machine instead.

    The database name and username and password are all something you configure. The hostname is not.

    The four bits of info have to be put in by you before you can do anything at all. Nothing works unless this information is correct.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Problems with wp-config.php’ is closed to new replies.