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.6 2005-08-18 03:03:25 niro Exp $ |
# $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/functions/mysqlfunctions,v 1.7 2005-08-18 08:13:49 niro Exp $ |
10 |
|
|
11 |
mysql_command(){ |
mysql_command(){ |
12 |
|
|
115 |
|
|
116 |
reach_mysql_server() |
reach_mysql_server() |
117 |
{ |
{ |
118 |
# set connection timeout to 10 secs |
# set connection timeout to 20 secs |
119 |
mysql --connect_timeout=10 \ |
mysql --connect_timeout=20 \ |
120 |
--user="${SQL_USER}" \ |
--user="${SQL_USER}" \ |
121 |
--password="${SQL_PASS}" \ |
--password="${SQL_PASS}" \ |
122 |
--host="${SQL_HOST}" \ |
--host="${SQL_HOST}" \ |