[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GT] Re: gt-d] Trouble with backtest.pl and beancounter



On Tue, 29 Apr 2008, Nicholas Kuechler wrote:

DBD::mysql::st execute failed: MySQL server has gone away at ../GT/DB/
bean.pm line 161.
MySQL server has gone away at ../GT/DB/bean.pm line 161.
Long position
real    0m29.489s
user    0m28.410s
sys     0m0.090s

To me a threshold question has to be: are the database access credentials set up properly, and can you do a simple query with the beancounter tool, like:

   $ beancounter quote ibm

getting back something like:

[herrold
AT
centos-5 ~]$ beancounter quote ibm
Name                       INTL BUSINESS MAC
Symbol                                   IBM
Exchange                                NYSE
Date                                20080429
 ...

Once you know the database connection works, you can drill in further.

- Russ herrold