• I am trying to install wordpress on my Mac running Lion. I installed mysql and enabled php. But I am having trouble connecting to mysql when I run the wp install. Am I supposed to create a database myself, or should wp create it automatically? I am new to wp and mysql, so no clue how to create a database either. Can I use an arbitrary username/password for the database?

    So I am sure install would take about 5 minutes on a server that has already been set up. But if you are hosting your own server like I am, the instructions are very lacking. I would appreciate basic instructions on all the elements I need configured such as php (appears to be working) and mysql.

    Thanks,
    Frank

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter NutsAndBolts

    (@nutsandbolts)

    Thanks Samuel B. But I am not using MAMP. I already have my server configured for a number of virtual hosts and I do not want to re-do all that with MAMP.

    I need instructions on how to prepare mysql database and another detail I need is, is it 127.0.0.1:3306 for mysql host or just localhost, or 127.0.0.1? I tried all and none worked for me. My guess is I need to create a database before I can Set up WP. Is that correct and if so are there step by step instructions on how to do that?

    If you’re not comfortable with command line mysql, I would suggest installing PHPMyAdmin to manage your databases. It makes creation of new databases and users much easier than remembering the correct query syntax.

    https://www.phpmyadmin.net

    From there, you create you database and a user to access it, and plug that info into the WordPress install screen.

    Thread Starter NutsAndBolts

    (@nutsandbolts)

    Thank you kionae, after some struggle with installing phpmyadmin on my Mac I managed to get wordpress working! ??

    Then I decided to use a different style permalink and selected year/month/day format. Now I cannot view any page I add. It says page not found and the short link resolves (such …?p=15) to the year/month… format leading to 404 also. And it seems I cannot get back to the previous link settings. How do I get the year/moth format working, failing that how do I get back to the original settling? Please help!

    Is mod_rewrite running on your server?

    Thread Starter NutsAndBolts

    (@nutsandbolts)

    Hi esmi, the answer is probably not. I searched about mod_rewrite. I am supposed to add these to my virtual host def, which I did:

    RewriteEngine On
    RewriteOptions Inherit

    will that do it? if so how do I go about having the pages show up now?

    Thanks,
    Frank

    Thread Starter NutsAndBolts

    (@nutsandbolts)

    Oh well, I wiped out the database and started afresh. Back to the original link format and all is working again. Now the real work starts, I need to figure out how to use it so I can teach the actual users about the basics.

    Thank you all for your help so far.

    mod_rewrite is controlled from the httpd.conf file for Apache.

    Look for a line that looks something like this:

    #LoadModule rewrite_module modules/mod_rewrite.s

    and remove the #. Then restart Apache. That should turn it on for you.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘5 minute install not!’ is closed to new replies.