Magellan Linux

Diff of /alx-src/trunk/alxconfig-ng/functions/mysqlfunctions

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 285 by niro, Wed Aug 17 21:20:39 2005 UTC revision 286 by niro, Wed Aug 17 22:09:59 2005 UTC
# Line 6  Line 6 
6  #  #
7  # Niels Rogalla <niro@magellan-linux.de>  # Niels Rogalla <niro@magellan-linux.de>
8  #  #
9  # $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/functions/mysqlfunctions,v 1.4 2005-08-17 21:20:39 niro Exp $  # $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/functions/mysqlfunctions,v 1.5 2005-08-17 22:09:59 niro Exp $
10    
11  mysql_command(){  mysql_command(){
12    
# Line 115  beep3x() { Line 115  beep3x() {
115    
116  reach_mysql_server()  reach_mysql_server()
117  {  {
118   # set connection timeout to 5 secs   # set connection timeout to 10 secs
119   mysql --connect_timeout=5 \   mysql --connect_timeout=10 \
120   --user=${SQL_USER} \   --user="${SQL_USER}" \
121   --password=${SQL_PASS} \   --password="${SQL_PASS}" \
122   --host=${SQL_HOST} \   --host="${SQL_HOST}" \
123   --database=${SQL_DB} \   --database="${SQL_DB}" \
124   --batch \   --batch \
125   --execute="" $> /dev/null && return 0 || \   --execute="" $> /dev/null && return 0 || \
126   (   (

Legend:
Removed from v.285  
changed lines
  Added in v.286