Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 441115
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T20:56:24+00:00 2026-05-12T20:56:24+00:00

I have a WordPress-based log, hosted on Dreamhost. I’m on Snow Leopard and I

  • 0

I have a WordPress-based log, hosted on Dreamhost. I’m on Snow Leopard and I wanted to install local site, that will connect to my remote database. However, this does not work and I get this error:

mysqlnd cannot connect to MySQL 4.1+ using old authentication

I did not try to do this in Leopard, so I don’t is it new thing in SL or was an error in Leopard as well.

How to solve/workaround this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T20:56:25+00:00Added an answer on May 12, 2026 at 8:56 pm

    I have resolved this.
    The issue indeed was due to Snow Leopard’s default of using mysqlnd as the module for PHP 5.3 it ships with, not with Dreamhost. That module flatly refuses to connect with servers using OLD_PASSWORD hash.

    The only solution to this (as I can’t change MySQL settings on shared hosting) is to recompile your own PHP, that will not use mysqlnd but mysql/mysqli. Took me 3h to figure out the correct ./configure for it to work (I’m far from fluent in this area, so it was hit and miss). Searching through the net, various options worked for various people.
    No idea will this work or others, it did worked for me like this:

    1. Get libjpeg and compile, install into /usr/local/libjpeg
    2. Get libpng and compile, install into /usr/local/libpng

    3. Compile latest MySQL, per hivelogic.com instructions

    4. Set to use 64bit

      export MACOSX_DEPLOYMENT_TARGET=10.6 \
      CFLAGS="-arch x86_64" \
      CXXFLAGS="-arch x86_64"
      
    5. Use this for configure PHP (I used 5.2.11, does not really matters to me as long as it’s 5.x)

      ./configure --prefix=/usr/local/php5 \ 
      --mandir=/usr/share/man \ 
      --infodir=/usr/share/info \ 
      --sysconfdir=/private/etc \ 
      --with-apxs2=/usr/sbin/apxs \ 
      --enable-cli \ 
      --with-libxml-dir=/usr \ 
      --with-openssl=/usr \ 
      --with-kerberos=/usr \ 
      --with-zlib=/usr \ 
      --enable-bcmath \ 
      --with-bz2=/usr \ 
      --enable-calendar \ 
      --with-curl=/usr \ 
      --enable-exif \ 
      --enable-ftp \ 
      --with-gd \ 
      --with-jpeg-dir=/usr/local/libjpeg \ 
      --with-png-dir=/usr/local/libpng \ 
      --enable-gd-native-ttf \ 
      --with-ldap=/usr \ 
      --with-ldap-sasl=/usr \ 
      --enable-mbstring \ 
      --enable-mbregex \ 
      --with-pdo-mysql=/usr/local/mysql \ 
      --with-mysql=/usr/local/mysql \ 
      --with-mysqli=/usr/local/mysql/bin/mysql_config \ 
      --with-mysql-sock=/tmp/mysql.sock \ 
      --with-iodbc=/usr \ 
      --enable-shmop \ 
      --with-snmp=/usr \ 
      --enable-soap \ 
      --enable-sockets \ 
      --enable-sysvmsg \ 
      --enable-sysvsem \ 
      --enable-sysvshm \ 
      --with-xmlrpc \ 
      --without-iconv \ 
      --with-xsl=/usr
      

    Again, I’m rookie with all this, need PHP just to run local wordpress, so use at your own risk.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm starting a Wordpress Blog that will have adult content on it, so I'll
I have a WordPress site (2.6.2) in which I have set the Home page
I've noticed that a few Wordpress blogs have query statistics present in their footer
If you want to develop against WordPress (i.e., have a local instance running on
I have a (Wordpress powered) website, and Google is indexing some of the sub-directories.
i have a wordpress blog and want to give people the same user experience
I have a friend who has code like this in his wordpress files: Blockquote
I've got a plugin I wrote for wordpress and I need to have the
Have just started using Google Chrome , and noticed in parts of our site,
Have you ever seen any of there error messages? -- SQL Server 2000 Could

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.