Package: wwwconfig-common
Version: 0.0.48
Severity: minor

# dbadmin="root" dbserver="mysql01.example.org" source 
/usr/share/wwwconfig-common/mysql.get ; $mysqlcmd
ERROR 2005 (HY000): Unknown MySQL server host ''mysql01.example.org'' (1)

if the single quotes are removed from the hostopt variable assingment it works 
okay:
            hostopt="-h $dbserver"

# dbadmin="root" dbserver="mysql01.example.org" source 
/usr/share/wwwconfig-common/mysql.get ; $mysqlcmd
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 23239
Server version: 5.0.32-Debian_7etch5-log Debian etch distribution


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to