[Refdb-users] Problem with installation.
Status: Beta
Brought to you by:
mhoenicka
From: Jason C. <ja...@ne...> - 2003-07-30 02:03:56
|
Hello, I've been pulling my hair out for hours now, and am giving up for now. I hope somebody here can give me more information to go on. I've installed refdb & unsundry libraries and programs. Some perhaps relevant info: linux debian stable refdb version 0.9.2 libdbi version 0.7.1 btparse version btparse-0.33 Other libraries etc. came from debian stable and a few from unstable. My problem is this. I don't seem to be able to connect to my mysql database, event though it really seems like I should be able to. Following the "testing" section in the manual: ---- snip ---- jason@laplace:~$ refdbd -s -V -e 0 -l 7 application server started use /tmp/refdbd_fifo32628 as fifo server waiting n_max_fd=4 adding client on fd 5 server waiting n_max_fd=5 parent removing client on fd 5 server waiting n_max_fd=4 try to read from client serving client on fd 5 with protocol version 1 120-04-08-22 send pseudo-random string to client viewstat -u root -w 073048090073059083 dbi is up localhost root xxxpasswordxxx 3306 mysql f creating database connection structure failed command processing done, finish dialog now child finished client on fd 5 child exited with code 0 server waiting n_max_fd=4 ---- snip ---- I think the "creating database connection structure failed" is important, but I'm not sure how to interpret it. And in another window: ---- snip ---- jason@laplace:~$ refdba -u root -w xxxpasswordxxx refdba: set serverip 127.0.0.1 port 9734 verbose f pager less username root timeout 30 logfile /var/log/refdba.log logdest 1 loglevel INFO refdblib refdba: viewstat #less gives: could not connect to database server here refdba: quit ---- snip ---- I get a "could not connect to database server here" error from refdba, as I tried to annotate in the above. But now in the same terminal I can do: ---- snip ---- jason@laplace:~$ mysql -u root --password=xxxpasswordxxx -P 3306 Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 13 to server version: 3.23.49-log Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> use refdb1 Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> quit Bye jason@laplace:~$mysqlshow -u root --password=xxxpasswordxxx refdb1 Database: refdb1 +-----------------+ | Tables | +-----------------+ | CITSTYLE | | POSITIONS | | REFSTYLE | | SEPARATORS | | t_journal_words | +-----------------+ ---- snip ---- So I mysql is obviously working, and I seem to have made the database fine. Can somebody please float me a clue!!!??? -- -Jason Crosswhite Graduate Research Assistant University of Oregon Geophysics Group |