Hi,
I am trying to import a database via b2g4pipe, i.e., to execute step 7
from your explanations in the link:
http://www.blast2go.com/b2glaunch/resources/35-localb2gdb
I got absolutely the same error as the one described in the form here:
http://groups.google.com/group/blast2go/browse_thread/thread/2cd6aafe...
Ironically, Nick, who posted the question above, and me, we are trying
to install Blast2Go together again on a bigger machine.
Here are the config detalis
1. The mysql configuration uses a non-standard datadir which is
located on a mounted partition called /storage
I can ssh both as root or user 'blast2go'.
2. The file my.cnf:
nofish.titan.uio.no# cat /etc/my.cnf
[mysqld]
datadir=/storage/mysql/
socket=/storage/mysql/mysql.sock
user=mysql
# Disabling symbolic-links is recommended to prevent assorted security
risks
symbolic-links=1
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
bind-address=127.0.0.1
#skip-networking
3. The file b2gPipe.properties :
// BLAST2GO Properties File Version 2.5.0 - 28.06.2011 - Valencia
// by Stefan Goetz - sgo...@cipf.es
// General ("Blast2go.version" don't needs a star to be updated)
Blast2go.version=2.5.0
MainGui.consoleBuffer=50000
MainGui.autosave=false
MainGui.autosave.minutes=60
InterProScan.secondstowait=60
InterProScan.paralleljobs=10
Blast2go.textes=blast2go.text
// LookAndFeels: default, native,
javax.swing.plaf.metal.MetalLookAndFeel,
com.sun.java.swing.plaf.motif.MotifLookAndFeel,
com.sun.java.swing.plaf.windows.WindowsLookAndFeel,
com.sun.java.swing.plaf.gtk.GTKLookAndFeel
Blast2go.lookandfeel=default
User.Information.Request=false
User.Email=
B2G.Account.UserID=
B2G.Account.UserPasswd=
// Http Proxy Settings
Http.Proxy.usage=false
Http.Proxy.host=
Http.Proxy.port=80
Non.Proxy.port=
Socks.Proxy.host=
Socks.Proxy.port=
// GO and B2G Data Access Basic
Dbacces.dbname=b2g
Dbacces.dbhost=127.0.0.1
Dbacces.dbuser=blast2go
Dbacces.dbpasswd=blast4it
//Dbacces.dbname=b2g
//Dbacces.dbhost=127.0.0.1
//Dbacces.dbuser=root
//Dbacces.dbpasswd=<ROOT-PASSWORD>
4. The classpath is correct since the java command-line program starts
and does not complain of not finding the jars
The error I get when I run the command is:
nofish.titan.uio.no# java es.blast2go.prog.util.ImportPIR /storage/
nikolaiv/blast_DB/idmapping.tb 127.0.0.1 b2g root <ROOT-PASSWORD> 1
Starting to import /storage/nikolaiv/blast_DB/idmapping.tb to
b...@127.0.0.1 with user root
Database or network connection (timeout) error for: 127.0.0.1
Database or network connection (timeout) error for: 127.0.0.1
Import gi-uniprot mapping: Could not connect to DB
Could not connect to DB
Import of gi-uniprot mapping finished
I have installed both the DB server, the DB and the b2g4pipe within
the same machine.
Do you have an idea what might be wrong? Can't it connect to the DB in
Spain or to the local one?
Thank you in advance
Nikolay