• I’ve installed PHP, MySQL all running fine.
    I’ve created a database named ‘wordpress’
    This is the wp-config.php file setttings that I use:
    // ** 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

    I ran the /wp-admin/install.php and it runs fine till step 2 where I’m hesitant. It gives me http://localhost as recommended installation web address. I don’t know if this is correct. I also tried http://localhost/~myusername/wordpress
    Whatever web address I try the installer gets stuck at Step 3. It displays the WordPress logo and the title Step 3 and nothing else. Where could the problem be? Is it the web address or is it something else in my settings in the config file?
    Thanks! Ivan

Viewing 10 replies - 1 through 10 (of 10 total)
  • Ivan:
    I’ve had a copy running locally for a while now — can’t remember exactly how I set it up, but I’m running Server Logistics’ Apache 2 server package (http://www.serverlogistics.com/apache2.php) and my site is located in my ~user/sites/ folder. wp-config is set up as you say. In my WP Options pane, my site’s address appears as: http://localhost/sites/wordpress
    Hope that might be helpful,
    Jeff.

    Well, the source of the problem (obviously) is that an army of mutant rats have attacked the WordPress HQ, destroying all possibility of installation! Or… not.
    Hmm… if I remember correctly, I think I might have just left it with ‘http://localhost.’ If that doesn’t work, then I’m fresh out of ideas :/

    Thread Starter iraszl

    (@iraszl)

    it’s obviously not the site address that’s a problem, because i tried both suggestions and didn’t work.
    maybe it’s the database. i just created a database named wordpress. do i have to make any settings on it? how did you guys do it?

    Okay, a couple of questions here.

    1. Where did you install your WP files, in /Library/WebServer/Documents ; or in /Users/UserName/Sites/ ?
    2. Have you set up a rendevous machine name in the Sharing Dialog?

    Once you answer these questions I can help you out.
    Jesuit

    Thread Starter iraszl

    (@iraszl)

    1. users/myusername/sites/wordpress/
    2. yes, i think, is it the one on the one called Computer Name or the small type under it saying local subnet…?

    Thread Starter iraszl

    (@iraszl)

    the weird thing is that when i go to http://localhost/~ivanraszl/wordpress/ i can see the page with the hello world sample post, but when i click login nothing happens, not that i would know the password, since it was not given to me in step three. every time i try i drop the database and recreate it before starting the installation again.

    1. Okay.
    2. You local machine name would be something like mydesktop.local, to find out go into:
    Control Panel->Sharing and look at the top where it says computer name: in that text box put what you want your comp to be identified as to the network.
    So you need to put in machine name ie mydesktop.local/~username/
    I would recommend taking the files to run WP out of the WP directory and just throw them in the Sites folder. Other than that you should be good. Let me know how this goes for you.

    Thread Starter iraszl

    (@iraszl)

    is this correct for WP web address?
    http://Ivan-Raszls-Computer.local/~ivanraszl/
    this didn’t work, still same error. i did put the WP files directly into the sites folder.
    thanks so much for your continous help!

    Hmm.. going back to your SQL db, did you create the user root and add them to the db and give them the appropriate powers?
    I would suggest blowing away the wordpress DB and creating another one just to be sure something wasn’t borked when creating it. Other than that I am kinda stumped. I have never had a problem installing this on my mac all the way to Tiger (10.4) which is what my server is running now.

    Thread Starter iraszl

    (@iraszl)

    i deleted and recreated the database. the username is root and there is no password. i think the database works fine because step one runs fine and the WP installer creates all the necessary tables in the database.
    i think there is something else stopping the installation at step 3. what else could it be besides the web address?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Mac OS X local installation’ is closed to new replies.