[Refdb-users] refdb/mysql problems under Cygwin -- please help
Status: Beta
Brought to you by:
mhoenicka
From: Gary L. <gl...@cn...> - 2003-11-15 18:37:42
|
Hi, I've been struggling to get refdb working under Cygwin. If anyone could help me get the following issues resolved, I'd be very appreciative. The main problem seems to be failure of refdbd to communicate propertly with mySQL (or to relay information to refdba/refdbc) The mysql daemon works fine from dos. I was able to create the initial table structures from refb.dump. Although I can run mysqld in cygwin (and it loads up fine), I can't get the comman-line mysqlc to work under cygwin (although strangely it works in dos), but I think that's not the main issue. Finally, I realized that refdbd/a/c weren't reading the configuration files properly for some reason. Starting them with the -y switch solved the problem "-y /usr/local/etc/refdb" I also had to uncomment the dbi_drivedir option in refdbdcrc : dbi_driverdir /usr/local/lib/dbd, to get refdbd to see libdbi. Now when I run refdbc, I get the following errors for the various commands: refdbc: whichdb cannot get row count refdbc: getau getfoo failed refdbc: listdb could not connect to database server refdbc: getref select failed when I use redba, I just get "could not connect to database server" errors. I know that refdbc is communicating with mysql on some level since if mysqld isn't running, it also gives me "could not connect to database server" The serverip in the config files is set to the ip of my machine. I checked the mysql user permissions and they seem fine -- I'm trying to log in as a superuser so that shouldn't be the problem. Does anyone have any ideas? Thank you. |