Forums

Brand newbie (9 posts)

  1. marzolian
    Member
    Posted 1 year ago #

    I'm a brand-new WordPress user, I plan to use it to maintain my own site, and soon afterward to run part of a site for a non-profit organization. I am familiar with HTML. Never used PHP or MySQL before, but I'm familiar with databases in general. (used DBASE III many years ago, plus MS Access more recently.)

    To start with, I'm putting WordPress on my own machine (Windows XP). I have installed PHP 5.2 and MySQL 5.1.47, then realized I probably needed this instead or in addition to those:

    http://www.microsoft.com/web/gallery/WordPress.aspx

    Then, while trying to follow the steps here:

    http://codex.wordpress.org/Main_Page

    I'm having a problem when I try to run setup-config.php. Here's a screenshot:

    http://www.techlanguage.com/screenshots/wp_error.png

    Several things don't make sense, but before I babble some more, please give me your feedback on this.

  2. James
    Happiness Engineer
    Posted 1 year ago #

    Try this local install method instead:

    http://www.tamba2.org.uk/wordpress/xampp/

  3. marzolian
    Member
    Posted 1 year ago #

    macmanx,

    Thanks, but I'm stuck again. When I click "phpMyAdmin", I get this error:

    Error
    MySQL said: Documentation

    #1045 - Access denied for user 'root'@'localhost' (using password: NO)

    Connection for controluser as defined in your configuration failed.
    phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.

    Thanks,
    Steven

  4. Anonymous
    Unregistered
    Posted 1 year ago #

    It means that you are using MySQL with username 'root' but no password. You can set a password by the following,

    open the file config.inc.php in folder C:/wamp/apps/phpmyadmin2.10.1 (or an appropriate path for linux) and find this line:

    $cfg['Servers'][$i]['password'] = 'TakeOutAnythingInThisSingleQuote'; // MySQL

    And, set a password in the above line.

    Source

  5. marzolian
    Member
    Posted 1 year ago #

    adsrikanth,

    Thanks, but the error message is still the same,

    Here are the first few lines of the config.inc.php file:

    <?php
    /*
    * This is needed for cookie based authentication to encrypt password in
    * cookie
    */
    $cfg['blowfish_secret'] = 'xampp'; /* YOU SHOULD CHANGE THIS FOR A MORE SECURE COOKIE AUTH! */

    /*
    * Servers configuration
    */
    $i = 0;

    /*
    * First server
    */
    $i++;

    /* Authentication type and info */
    $cfg['Servers'][$i]['auth_type'] = 'config';
    $cfg['Servers'][$i]['user'] = 'root';
    $cfg['Servers'][$i]['password'] = '';
    $cfg['Servers'][$i]['AllowNoPassword'] = true;

    /* Server parameters */
    $cfg['Servers'][$i]['host'] = 'localhost';
    $cfg['Servers'][$i]['connect_type'] = 'tcp';
    $cfg['Servers'][$i]['compress'] = false;

    /* Select mysqli if your server has it */
    $cfg['Servers'][$i]['extension'] = 'mysqli';

  6. Anonymous
    Unregistered
    Posted 1 year ago #

    Yes,

    You can set your password in the following lines.

    /* Authentication type and info */
    $cfg['Servers'][$i]['auth_type'] = 'config';
    $cfg['Servers'][$i]['user'] = 'root';
    $cfg['Servers'][$i]['password'] = '123'; <----------------
    $cfg['Servers'][$i]['AllowNoPassword'] = true;

    In the above case, my password is 123

    After making changes, save the file and re-start xampp

  7. marzolian
    Member
    Posted 1 year ago #

    Thanks, but I have followed those instructions (added a password, saved config.inc.php, killed and restarted xampp). Same error message.

    Could there be any conflict between my earlier installation (in original message) and xampp?

  8. marzolian
    Member
    Posted 1 year ago #

    On a hunch, I deleted the previous WordPress database, and continued to follow the steps here:

    http://www.tamba2.org.uk/wordpress/xampp/

    I still get the error when I click "phpmyadmin".

    However, when I use this panel:

    https://localhost/phpmyadmin/

    The database appears okay. Then, I was able to enter WordPress this way:

    http://localhost/wordpress/wp-admin/install.php

    And presto, I have a blog.

    Actually, I'm not interested in a blog. I want to use a WordPress theme to create new pages and upload them to my site. Will what I have done so far conflict with this?

  9. Anonymous
    Unregistered
    Posted 1 year ago #

    Well, WordPress is designed in such a way that 'content is separate from design', meaning that you can create 5000 or any number of pages under a single theme. And, if you change the theme, all the 5000 pages appear in the new theme. If you delete some pages, your theme is not affected.

    So, the content (both pages and posts) are independent of the design (theme).

    I hope it makes sense. If you have a website and facing some issues, please let me know, I would be happy to help you out.

Topic Closed

This topic has been closed to new replies.

About this Topic