delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/04/25/15:44:22

X-Spam-Check-By: sourceware.org
X-YMail-OSG: 3C4PWdYVM1l_q_MCCB0GbcR.5fo5VFUBusaAT..KbUT7p96oGFGHobbin_TZjvujoii2bpQl8MJIIH5WXpeRs.ZoO7wtsCqkVQNjjGZ_C6hyfXy_dZy5Qj7AgpiCgQ--
Date: Wed, 25 Apr 2007 12:44:00 -0700 (PDT)
From: fungazid fungazid <fungazid AT yahoo DOT com>
Reply-To: cygwin AT cygwin DOT com
Subject: Re: perl DBD::mysql under cygwin question
To: cygwin AT cygwin DOT com
In-Reply-To: <462F830B.E051F299@dessent.net>
MIME-Version: 1.0
Message-ID: <390873.70791.qm@web52012.mail.re2.yahoo.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Brian hello,

Thank you a lot, this specific problem is solved. 

I used 

1)./configure --prefix=/usr/local/mysql
--without-server
2) make
3) make install
4) cd /usr/local/mysql/bin
5)./mysql -h 127.0.0.1

I tested mysql and it works. I still have some little
problem with user access to mysql table that I'm
trying to solve (I guess it's a cygwin problem):

mysql>  use mysql
ERROR 1044 (42000): Access denied for user 'admin'@'%'
to database 'mysql'

Avi
















--- Brian Dessent <brian AT dessent DOT net> wrote:

> [ There is no need to email me directly.  I set the
> reply-to to the
> list. ]
> 
> fungazid fungazid wrote:
> 
> > 1) cygwin is installed under C:\cygwin folde.
> > 2) I unpacked mysql linux source to
> C:\cygwin\home.
> > 3) I CD to the new folder
> > (C:\cygwin\home\mysql-5.0.37).
> > 4) run the command:
> >  ./configure --prefix=/home/mysql-5.0.37
> > --without-server
> 
> You're configuring with a prefix that is the same as
> srcdir.  That's
> completely nonsensical.  --prefix is the root of
> where the files should
> be installed, typically /usr/local.  Don't set it to
> the directory where
> you unpacked the sources.
> 
> Brian
> 
> --
> Unsubscribe info:     
> http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:      
> http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019