• Hi!

    I’m trying to set up wp with php and mysql locally on my Windows computer. I’m using version 5.3.3 of PHP (win32, non thread safe version) and 2.2.17 of Apache.

    I have created a database named wp and a user named wp with all the privileges for the wp database. I can log in to mysql from the command line using user wp and create tables for the wp database (I of course removed them also).

    In my wp-config.php file I have the following settings:

    define('DB_NAME', 'wp');
    define('DB_USER', 'wp');
    define('DB_PASSWORD', '--------------------');
    define('DB_HOST', 'localhost');
    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', '');

    When I execute the wp-admin/install.php file no tables are created. The browser first says “connecting to localhost”, then “waiting for localhost” and after about 60s it says ”done”. No content is displayed. No error message is displayed, just a blank page. The result is the same no matter if mysql is started or stopped.

    I run mysql on port 3306. I have changed the DB_HOST setting to localhost:3306, but the result is the same.

    I’m a newbie at wp, php, and mysql. Where can I check logs? Any suggestions on what’s wrong?
    Best regards
    /Fredrik

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator t-p

    (@t-p)

    -Check your wp-config.php file settings for the database and host names?

    I have changed the DB_HOST setting to localhost:3306, but the result is the same.

    check with your server if thst’s the right one.

    Thread Starter fuffens

    (@fuffens)

    The mysql server is installed locally on the same machine so it should respond to localhost or localhost:3306.

    How can I check db host name?

    If you’re new to apache, php and mysql under Windows, try http://www.wampserver.com/en/

    If you don’t want to use that, install phpmyadmin http://www.phpmyadmin.net in order to open and manage databases under mysql. That will give you your host name and let you set database names and privileges.

    Thread Starter fuffens

    (@fuffens)

    Thanks songdogtech! Installing wamp was much easier than installing and configuring the separate components.

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

The topic ‘No tables created when wp-admin/install.php is executed’ is closed to new replies.