Re: [Refdb-users] can't create database conn struct
Status: Beta
Brought to you by:
mhoenicka
|
From: Antti V. <Ant...@uk...> - 2003-06-19 11:08:23
|
Markus Hoenicka wrote: > added some debug information to track this down. Could you please try > the prerelease that I've just announced in a separate mail? I tried the 0.9.3-pre5, and got a notch further: connected to database server using database: refdb1 SELECT VERSION() this is refdbd's output when viewstat is run and this is from the rfdba screen: refdba: viewstat Connected via mysql driver (dbd_mysql v0.6.7) to: ERROR serverip: localhost timeout: 60 dbs_port: 3306 logfile: /var/log/refdbd.log logdest: 0 loglevel: 7 remoteadmin: off pidfile: /var/run/refdbd.pid So I guess it almost works now :) However, trying for example "listword" gives me: connected to database server using database: refdb1 SELECT DISTINCT name FROM t_journal_words WHERE name RLIKE '.*' and refdba: listword ERROR aborting... could not read from refdbd. Stop This in the refdba prompt. > As for the failed connection, the most likely reason is that you run > your mysqld with the --skip-networking option (or the corresponding entry > in my.cnf). refdbd always uses TCP/IP even when it talks to a database > server on the local machine. I start the mysqld from the standard mdk /etc/init.d/mysql, and nmapping localhost shows that 3306 is open and I can also telnet localhost 3306 just fine. So this is like it should be right? Thanks a lot for you time, really appreciate it. -- Ant...@uk... | Department of Applied Physics tel. +358 17 162 279 | University of Kuopio |