5 messages in com.mysql.lists.plusplusRe: how to run a script
FromSent OnAttachments
Timothy Waters31 Aug 2003 20:01 
Mark A Framness31 Aug 2003 21:29 
Thomas Wilkinson01 Sep 2003 00:58 
Sinisa Milivojevic01 Sep 2003 04:43 
Sinisa Milivojevic01 Sep 2003 04:45 
Subject:Re: how to run a script
From:Sinisa Milivojevic (sin@beotel.yu)
Date:09/01/2003 04:45:55 AM
List:com.mysql.lists.plusplus

On Mon, 1 Sep 2003 01:59:02 -0600 "Thomas Wilkinson" <thew@comcast.net> wrote:

I realize this isn't really related to mysql++ but I didn't want to sign up for another mailing list.

How exactly do you run the scripts that come with the mysql installation. In particular I'm trying to run the mysql_install_db script. Whenever I try mysql < "mysql_install_db" I get errors. And with every other script I run in the /scripts/ directory I get similar errors.

The error with the mystl_install_db script is:

ERROR 1064 at line 10: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'IN_RPM=0 case "$1" in -IN-RPM) IN_RPM="1"' at line 1

Anyone have any idea how I can get this script to run? Im trying to set up the grant tables and I don't think I have access until I run this script. Thanks.

This issue is for mys@lists.mysql.com.

You do not run mysql_install_db through mysql. You run it as a shell script,
which it is.

Sincerely,