5 messages in com.mysql.lists.plusplusRe: how to run a script| From | Sent On | Attachments |
|---|---|---|
| Timothy Waters | 31 Aug 2003 20:01 | |
| Mark A Framness | 31 Aug 2003 21:29 | |
| Thomas Wilkinson | 01 Sep 2003 00:58 | |
| Sinisa Milivojevic | 01 Sep 2003 04:43 | |
| Sinisa Milivojevic | 01 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.
Thomas
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,
-- For technical support contracts, go to https://order.mysql.com/?ref=msmi __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <sin...@mysql.com> / /|_/ / // /\ \/ /_/ / /__ MySQL AB /_/ /_/\_, /___/\___\_\___/ Fulltime Developer and Support Coordinator <___/ www.mysql.com Larnaca, Cyprus




