• Hi!
    I’m new to MySQL, PHP and WordPress, so I’m having difficulties installing this because the creators of WP pretty much assumes everyone is as good as they are, it seems.
    Anyway, I still haven’t constructed an actual page but I have a domain and a place for it, and in the control panel I can create MySQL databases and stuff. What do I do before installing WP?
    Also, do I do the installing from my harddrive or do I upload all the WP files to my site first?
    And last but not least, I’ve tried a bunch of ways doing this but when I run the install I just see a bunch of text and code and there are no “steps” because everything just appears instantly. And in the end it gives me no password, and it cannot “guess” my URL.
    Thank you for the help,
    Carmen

Viewing 11 replies - 1 through 11 (of 11 total)
  • Try here:
    http://wiki.ww.wp.xz.cn/5MinuteInstallation/wp-config.php
    From your cpanel, create a mysql database.
    Note the name of it.
    Note also the password you had to use to create it.
    In your webspace, you have to decide where you want your blog to appear.
    Will it be at http://www.example.com or http://www.example.com/blog ?
    If it’s the former, upload all the WordPress files to your site – it will be into htdocs or public_html.
    If it’s the latter, create a new directory, and upload the files there instead.
    As to what to upload – unzip the download. There will be a folder called ‘WordPress’. Open it if you see another single folder, open it again. When you see a long list of files, and about 4 folders, that it what you upload.
    Post back when you need to ?

    Thread Starter Carmen

    (@carmen)

    Thank you for the help. Still have some questions:
    Where do I upload if I want it to be appear at “www.example.com”? What is htdocs and public_html? I don’t have that.
    Where do I run the files from?
    I – for now- created a folder called “word” and uploaded all the files there. I canged the config and ran install, but the same thing happened a before. I see a bunch of code and text, and there simply are no steps because it runs through the whole thing. And it doesn’t give me a password and it cannot “guess” my site.
    Example on how it looks:
    “Step 3
    query($query); } // $query = “DROP TABLE IF EXISTS $tableusers”; // $q = mysql_query($query) or mysql_doh(“doh, can’t drop the table \”$tableusers\” in the database.”); $query = ” CREATE TABLE $tableusers ( ID int(10) unsigned NOT NULL auto_increment, user_login varchar(20) NOT NULL default ”, user_pass varchar(64) NOT NULL default ”, user_firstname varchar(50) NOT NULL default ”, user_lastname varchar(50) NOT NULL default ”, user_nickname varchar(50) NOT NULL default ”, user_icq int(10) unsigned NOT NULL default ‘0’, user_email varchar(100) NOT NULL default ”, user_url varchar(100) NOT NULL default ”, user_ip varchar(15) NOT NULL default ”, user_domain varchar(200) NOT NULL default ”, user_browser varchar(200) NOT NULL default ”, dateYMDhour datetime NOT NULL default ‘0000-00-00 00:00:00’, user_level int(2) unsigned NOT NULL default ‘0’, user_aim varchar(50) NOT NULL default ”, user_msn varchar(100) NOT NULL default ”, user_yim varchar(50) NOT NULL default ”, user_idmode varchar(20) NOT NULL default ”, PRIMARY KEY (ID), UNIQUE KEY (user_login) ) “; $q = $wpdb->query($query); $random_password = substr(md5(uniqid(microtime())),0,6); $query = “INSERT INTO $tableusers (ID, user_login, user_pass, user_firstname, user_lastname, user_nickname, user_icq, user_email, user_url, user_ip, user_domain, user_browser, dateYMDhour, user_level, user_aim, user_msn, user_yim, user_idmode) VALUES ( ‘1’, ‘admin’, MD5(‘$random_password’), ”, ”, ‘site admin’, ‘0’, ‘$admin_email’, ”, ‘127.0.0.1’, ‘127.0.0.1’, ”, ’00-00-0000 00:00:01′, ’10’, ”, ”, ”, ‘nickname’)”; $q = $wpdb->query($query); // Do final updates upgrade_all(); ?>
    User setup successful!”
    Thank you for all the help!
    Carmen

    First off, you need to check that your host has PHP running.
    Email them, and ask
    “Do you have the following:
    # PHP version 4.1 or greater
    # MySQL version 3.23.23 or greater”
    If they say no, move hosts as WP will not work.
    If they say yes, we can get it going.
    As for where to upload it:
    You created a folder called ‘word’ yes ? That’s a directory, so to get to your blog I would have to go to http://www.example.com/word
    My guess is don’t make a directory, just upload the wordpress files to your site but not in a folder.
    If you want to, email me (tamba2 at gmail dot com) and I’ll try to install it for you.

    hello,
    I am having the same difficulties except that I would like to install the blog on my computer (and work on it) before uploading my files to my serve. I want to try it first instead of paying for webspace, etc.
    I managed to install PHP and MYSQL on my compuet – I’m not sure IO’ve done it right, but … it would be great if someone could help with that. Like actually giving a step by step guide.
    This is all new for me, I’ve always used pre-designed blogs.
    Please Help!!!

    Xampp.
    http://www.apachefriends.org/en/xampp-windows.html
    Download.
    Install.
    That’s it šŸ™‚ Honestly.
    Run it, open phpmyadmin, and create a database called ‘wordpress’
    Put your blog into htdocs/wordpress
    Edit wp-config.php to have this :
    // ** MySQL settings ** //
    define('DB_NAME', 'wordpress'); // The name of the database
    define('DB_USER', 'root'); // Your MySQL username
    define('DB_PASSWORD', ''); // ...and password
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value

    Run install through your browser after starting things up my running apache-start.bat and mysql-start.bat
    The install address:
    http://127.0.0.1/wordpress/wp-admin/install.php
    The address will be
    http://127.0.0.1/wordpress/index.php
    Easy šŸ™‚

    Install the latest Nightly !!
    This uses php5 which will break 1.2 versions

    What do the instructions mean when it says save the file wp-config.php in the root of your Word Press install?

    Put it in the same directory (folder) as everything else. The one with index.php etx in it.

    (giggle)
    I feel really dunb for asking, but it is still not working. It keeps telling me that is needs the wp-config.php file, but it is right there! This is what my config file looks like:
    define(‘DB_NAME’, ‘wordpress’); // The name of the database
    define(‘DB_USER’, ‘root’); // Your MySQL username
    define(‘DB_PASSWORD’, ”); // …and password
    define(‘DB_HOST’, ‘localhost’); // 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 = ‘wp_’; // 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’);
    ?>

    Help, I want my blog! I am gonna cry!

    OH! So that’s how you do it! I didn’t know I had to drop the entire wordpress file into htdocs to get it to work!
    I’m slow. But thanks for your help!

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘New to MySQL, PHP and WordPress’ is closed to new replies.