localhost:/Applications/MAMP/Library/bin chinarut$ /Applications/MAMP/Library/bin//mysqlhotcopy --port 8889 --socket /Applications/MAMP/tmp/mysql/mysql.sock --user= user --password=pwd foo
DBI connect(';host=localhost;port=8889;mysql_socket=/Applications/MAMP/tmp/mysql/mysql.sock;mysql_read_default_group=mysqlhotcopy','root',...) failed: Client does not support authentication protocol requested by server; consider upgrading MySQL client at /Applications/MAMP/Library/bin//mysqlhotcopy line 178
I've verified I have a MySQL 5.0.19 instance up and running working ok.
chinarut
On 5/26/06, Alexander K. Hansen <[EMAIL PROTECTED]> wrote:
On 5/26/06, Hackin Chin <[EMAIL PROTECTED]> wrote:
> Hi! I'm new to this list and big hello to y'all! I've been using Fink for
> a good 9 months now and it's been great. I'm trying to do something a bit
> more advanced and finding myself a newbie again and happy to find this list
> after not finding my answer in documentation and FAQs. i'll use a template
> (thanks to the plone folks) so u get exactly what I'm trying to do:
>
> 1) big picture - hot copy a MySQL database in a MAMP installation
> 2) environment - Mac OS X 10.3.9. MAMP 1.2.1
> 3) steps to reproduce error:
>
> install MAMP
> create a mysql database 'amana'
> fink install dbi-pm581
> fink install dbd-mysql-pm581
> /Applications/MAMP/Library/bin/mysqlhotcopy amana 4)
> expected result: perl script runs with fink installed DBI::mysql
> 5) actual result:
>
> dyld: perl can't open library:
> /sw/lib/mysql/libmysqlclient.12.dylib (No such file or
> directory, errno = 2)
> Trace/BPT trap
>
> ---more info---
>
> $ ls -l /sw/lib/mysql/
> total 4384
> -rwxr-xr-x 1 root admin 1113704 23 Apr 2005 libmysqlclient.14.0.0.dylib
> lrwxr-xr-x 1 root admin 27 25 May 14:21 libmysqlclient.14.dylib ->
> libmysqlclient.14.0.0.dylib
> -rwxr-xr-x 1 root admin 1120032 23 Apr 2005
> libmysqlclient_r.14.0.0.dylib
> lrwxr-xr-x 1 root admin 29 25 May 14:21 libmysqlclient_r.14.dylib ->
> libmysqlclient_r.14.0.0.dylib
>
It looks like you need to install mysql12-shlibs. That provides the
missing library.
--
Alexander K. Hansen
Fink Documenter (for now)
Help keep AKH in Fink! Go to
http://ldx3.psfc.mit.edu/~hansen/
and contribute to the Mini fund.
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Fink-beginners mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-beginners
