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

  • Home
  • SEARCH
  • 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

Ask A Question

Stats

  • Questions 270k
  • Answers 270k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer It sounds like your code is working when you move… May 13, 2026 at 1:30 pm
  • Editorial Team
    Editorial Team added an answer I don't see any reason for you to make a… May 13, 2026 at 1:30 pm
  • Editorial Team
    Editorial Team added an answer Move the loading div from outside of the ins div:… May 13, 2026 at 1:30 pm

Related Questions

I have a Wordpress-based log, hosted on Dreamhost. I'm on Snow Leopard and I
I have a Hindi magazine website hosted on Joomla. Though helpful from publishing point
On my site (currently PHP5, wordpress 2.8.5) I have a lot of categories total=150.
I have a page template where I want to list entries for each child
I am designing a system for a customer. We are thinking about using Wordpress

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.