[ensembl-dev] Repeated Error

Will McLaren wm2 at ebi.ac.uk
Wed Jul 20 11:18:06 BST 2011


Hello,

You can try using the set_reconnect_when_lost() method on the registry module.

Add this line before you create your object adaptors, but after
loading the registry:

Bio::EnsEMBL::Registry->set_reconnect_when_lost();

Will


On 20 July 2011 11:04, gaurav thareja <gaurav4thareja at gmail.com> wrote:
>
> Hi,
>
> I am running LD analysis on list of SNP's. I am getting this error
> "DBD::mysql::st execute failed: Lost connection to MySQL server during query
> at /home/gaurav/ensembl/modules/Bio/EnsEMBL/DBSQL/SliceAdaptor.pm line 616,
> <IN> line 48" after every few analysis.
> I have local copy of variation database and using core database at ensembl.
>
> Please help me in resolving this?
>
> --
> Regards
>
> Gaurav Thareja
>
> _______________________________________________
> Dev mailing list    Dev at ensembl.org
> List admin (including subscribe/unsubscribe):
> http://lists.ensembl.org/mailman/listinfo/dev
> Ensembl Blog: http://www.ensembl.info/
>
>




More information about the Dev mailing list