WordPress.org

Ready to get started?Download WordPress

Forums

Trying to Install on Apache; Gettin Error Message (8 posts)

  1. zennie62
    Member
    Posted 9 years ago #

    Greetings,
    I am trying to install Word Press on an Apache host server for my domain http://www.sportsbusinesssims.com.
    I downloaded the WordPress files, unzipped them, then uploaded them into a folder in the server called "wordpress" or http://www.sportsbusinesssims.com/wordpress
    I then (as per instructions) opened the "wp-config-sample.php" page file, and entered the following information (password excluded and this is the entire page code):
    ________________________________________________________________
    <?php
    /** WordPress's config file **/
    /** http://wordpress.org/ **/
    // ** MySQL settings ** //
    define('DB_NAME', 'wordpress'); // The name of the database
    define('DB_USER', 'admin_sports'); // Your MySQL username
    define('DB_PASSWORD', '#########'); // ...and password
    define('DB_HOST', 'www.sportsbusinesssims.com/wordpress'); // 99% chance you won't need to change this value
    // Change the prefix if you want to have multiple blogs in a single database.
    $table_prefix = 'b2'; // example: 'wp_' or 'b2' or 'mylogin_'
    // Change this to localize WordPress. A corresponding MO file for the
    // chosen language must be installed to wp-includes/languages.
    // For example, install de.mo to wp-includes/languages and set WPLANG to 'de'
    // to enable German language support.
    define ('WPLANG', '');
    /* Stop editing */
    $server = DB_HOST;
    $loginsql = DB_USER;
    $passsql = DB_PASSWORD;
    $base = DB_NAME;
    define('ABSPATH', dirname(__FILE__).'/');
    // Get everything else
    require_once(ABSPATH.'wp-settings.php');
    ?>
    _________________________________________________________________
    I then renamed the page "wp-config.php" and uploaded it back to the server at the wordpress folder.
    I then (as per instruction: Run the installation file. Relative to where you uploaded the files, it'll be in wp-admin/install.php.) did just that...or what should be http://www.sportsbusinesssims.com/wordpress/wp-admin/install.php
    AND got an "error" message that the file could not be seen, or...
    The requested URL was not found on this server.
    Apache Server at sportsbusinesssims.com
    When I went to open this page:
    http://www.sportsbusinesssims.com/wordpress/wp-config.php
    I got this: "Error establishing a database connection! This probably means that the connection information in your wp-config.php file is incorrect. Double check it and try again.
    Are you sure you have the correct user/password?
    Are you sure that you have typed the correct hostname?
    Are you sure that the database server is running?"
    What did I do wrong, and why do the instructions NOT tell you to open:
    http://www.sportsbusinesssims.com/wordpress/wp-config.php
    Thanks,
    Zennie Abraham

  2. moshu
    Member
    Posted 9 years ago #

    define('DB_HOST', 'www.sportsbusinesssims.com/wordpress'); //
    Are you sure this is the location of your database???

  3. James
    Happiness Engineer
    Posted 9 years ago #

    For DB_Host, you need the actualy URL of your MySQL database. I highly doubt that it's in with /wordpress. It should either be at localhost or an entirely different URL. This also raises a few other concerns. Make sure that you have created a MySQL database. If you did, then DB_Host is that database's URL, DB_Name is that database's name, DB_User is that database's user name, and DB_Password is that database's password.

  4. zennie62
    Member
    Posted 9 years ago #

    Hi,
    So, am I to understand that I must spend $595 to establish a "MySQL Database"?
    Is there another (free) alternative to this? And why don't the "famous 5 minute installation" instructions explain this?
    Also, I already use one server, so now I have to establish another host, right?
    Thanks,
    Zennie

  5. zennie62
    Member
    Posted 9 years ago #

    Hi,
    I'm totally new at this, and don't mind being stupid, because it won't last long. So, I may have misread the info at MySOL, $595 was what I thought I was reading regardling licensing. OK. let me ask the stupid Q: where do you recommend I go to obtain a $5.95 charge. I think I should ask the folks who host my server. It's just that I want to do all of this myself and learn as I go, so I don't forget and gain a new skill set. See?
    Thanks,
    Zennie

  6. serendipity
    Member
    Posted 9 years ago #

    Zennie, before you do anything else, have you asked your hosting provider and obtained confirmation that MySQL is not available? There are only very few providers around who don't offer at least some sort of MySQL access. Esp. since PHP seems to be available (those two often go together).
    If it really isn't possible to run WP on your current host, a search for "hosting" here, on the wiki and on google will give you more than enough pointers to get started.

  7. zennie62
    Member
    Posted 9 years ago #

    Greetings,
    We had talked about our (SBS) using some kind of blog software like MT. They did encourage it, but I think I need to reopen the dialog.
    Zennie

  8. James
    Happiness Engineer
    Posted 9 years ago #

    Known good hosting companies recommended by WordPress users. Most have good plans under $20/month, some are even under $10/month: http://wiki.wordpress.org/Known%20Good%20Hosts

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.