Bacula-users

Re: [Bacula-users] running bweb-mysql.sql gives errors

2010-05-18 19:18:28
Subject: Re: [Bacula-users] running bweb-mysql.sql gives errors
From: Radosław Korzeniewski <radoslaw AT korzeniewski DOT net>
To: RYAN vAN GINNEKEN <king AT computerking DOT ca>
Date: Wed, 19 May 2010 00:12:10 +0200
Hi,

2010/5/18 RYAN vAN GINNEKEN <king AT computerking DOT ca>
./bweb-mysql.sql: line 1: --: command not found
./bweb-mysql.sql: line 2: --: command not found
./bweb-mysql.sql: line 3: --: command not found
./bweb-mysql.sql: line 8: syntax error near unexpected token `('
./bweb-mysql.sql: line 8: `CREATE FUNCTION base64_decode_lstat (field INTEGER, input BLOB)'

Pointed above bweb-mysql.sql script is not a regular shell script, so you can't execute it this way. You have to supply it into mysql client program/command. Use man mysql to check what options will be sufficient in your enviroment.

bye
 
--
Radosław Korzeniewski
radoslaw AT korzeniewski DOT net
------------------------------------------------------------------------------

_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>