DISQUS

Tech-Recipes: Leopard: How to Install Wordpress | Mac OS X Leopard | Tech-Recipes

  • Yost · 1 year ago
    Oh my gosh... you have no idea how grateful I am right now, I've been working on this for several days now being a total unix noob and this just helped me to get it working. Thanks so much. 1% was all I needed.
  • Dave · 12 months ago
    Really clear and very helpful, thanks.

    Just one comment - when editing wp-config.php I found that setting DB_HOST to "localhost:/tmp/mysql.sock" didn't work, I had to just use "localhost".
  • tgp · 10 months ago
    Absolutely fantastic tutorial. One change though. In the newer version of WP,
    /usr/local/mysql/bin/safe_mysqld

    is now

    /usr/local/mysql/bin/mysqld_safe
  • Shams-143.priya · 10 months ago
    Amazing Site I like it. It Was Quite Interesting NiceWork I appreciate the information you provided Excellent post. Keep it up!
    Good day!
  • anonymous · 9 months ago
    Simply marevelous. I am a novice to PHP/MYSQL/APACHE, and was able to follow this tutorial without a hitch. Thank you so much, keep up the good work :D
  • Fábio Morbec · 9 months ago
    Hello ! Nice tutorial !!

    Instead of create a folder on /var/mysql you can:

    cp /etc
    sudo cp php.ini.default php.ini

    Then, edit the line that starts with mysql.default_socket to look like this

    mysql.default_socket = /tmp/mysql.sock
  • Fábio Morbec · 9 months ago
    ops, the third line is:

    cd /etc/

    and not cp /etc
  • sam · 9 months ago
    Got stuck on "Add this line to your profile:" 'cause I can't find .profile
    Get message from Terminal: The file /Users/xxx/.profile does not exist.

    Any help?
  • sam · 9 months ago
    well, i guess there's more than one way to skin that cat. I went to:
    /etc/profile and checked the username as such,

    if [[ $USER = "test" ]]
    then
    export PATH="$PATH:/usr/local/mysql/bin"
    fi
  • LANman · 8 months ago
    So far this site has been great but I am fairly new to mysql and DB's in general. When I got to the part where you have to complete the configuration from terminal I get command not found when I type in mysql -u root. Any ideas on what I am doing wrong or what I need to do to get this to work.

    Thanks
  • Todd Wheeler · 8 months ago
    Entering "set password for 'root'@'macmini.local' = password('password');" in the third "set password" instructions produces the following error:

    ERROR 1133 (42000): Can't find any matching row in the user table

    I have tried some variations of the set password line, but no luck. Should I stop and then start Mysql, or is setting a password for this user necessary?

    Thank you for this very helpful tutorial.
  • Phillip Gibb · 8 months ago
    Thanks for the recipe - I plan to do this over the weekend in order to migrate my blog from WP hosted to self hosted :-)

    Phill(synapticlight)
  • John Schuster · 7 months ago
    Thanks for this. I look forward to installing Wordpress locally this week :)
  • Bill Durbin · 6 months ago
    Hello,

    I got through the installation with no problem, but it won't let me login to wordpress. When I look at the table in mysql, there is only one user 'admin'. I can't login as my own user and I can't login as admin. Am I missing something? I used all the username and password settings exactly as in this tutorial. What am I doing wrong?

    Thanks,

    BD
  • Vadim · 4 months ago
    Thanks for a great tutorial! You saved me many hours of troubleshooting!
  • Tjerk Zweers · 4 months ago
    Thanks for this excellent instructions. I have now WP 2.8 running smoothly on my Mac Mini.

    When I downloaded the mysql-5.1.35-osx10.5-x86.dmg I noticed that it included a Startup app. Once installed, this app starts up automatic the MySQL server after a reboot and no manual action is needed anymore.
  • qdideas · 4 months ago
    No problem! Thanks for the startup hint.
  • ben8 · 2 months ago
    Hi, noob here. I startted to follow your tut and didnt get far. I had to create a .profile because there wasn't one already. So I did "nano .profile" to create it. Then I added the export path. After leaving the .profile file, I cant find a way to get back in. but also not sure how to change from local host in the terimal to run commands for the next mysql step.

    many thanks.
  • tung desem · 2 months ago
    Thanks for the tutorial , i like it.

    Great...
  • styledev · 1 month ago
    For Snow Leopard users you need to use the “new” password format else you will get the "error establishing a database connection" and if you use echo(mysql_error()); before the html error output in wp-includes/wp-db.php (line 343 in version 2.8.4) it will say "mysqlnd cannot connect to MySQL 4.1+ using old authentication".

    So instead of using:

    set password for wpuser@localhost = old_password('wppass');

    Use:

    set password for wpuser@localhost = password('wppass');