[MOBY-guts] biomoby commit
Eddie Kawas
kawas at dev.open-bio.org
Thu Jun 19 23:59:39 UTC 2008
kawas
Thu Jun 19 19:59:39 EDT 2008
Update of /home/repository/moby/moby-live/Perl/MOBY-Server/bin/scripts
In directory dev.open-bio.org:/tmp/cvs-serv4390/Perl/MOBY-Server/bin/scripts
Modified Files:
moby-s-install.pl
Log Message:
fixed bug where mysql hangs
moby-live/Perl/MOBY-Server/bin/scripts moby-s-install.pl,1.6,1.7
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY-Server/bin/scripts/moby-s-install.pl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- /home/repository/moby/moby-live/Perl/MOBY-Server/bin/scripts/moby-s-install.pl 2008/05/29 19:59:21 1.6
+++ /home/repository/moby/moby-live/Perl/MOBY-Server/bin/scripts/moby-s-install.pl 2008/06/19 23:59:39 1.7
@@ -820,7 +820,7 @@
#check to see if we can call mysql ... if not, then die!
my $mysql_installed = (`mysql --version 2>&1` =~ m/^mysql\s+Ver\s+.*$/);
- my $mysql_started = (`mysql 2>&1` !~ m/^ERROR 200.*Can't connect to .*$/);
+ my $mysql_started = (`mysql -e "SHOW VARIABLES LIKE 'version'" 2>&1` !~ m/^ERROR 200.*Can't connect to .*$/);
print "mysql is installed ...\n"
if $mysql_installed;
print "mysql is started ...\n"
More information about the MOBY-guts
mailing list