This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: perl DBD::mysql under cygwin question


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@dessent.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]