2 messages in com.mysql.lists.win32novice: running pre-written commands
FromSent OnAttachments
Mark Brown23 Oct 2001 11:42 
Markus Hoenicka23 Oct 2001 12:07 
Subject:novice: running pre-written commands
From:Mark Brown (mbro@nd.edu)
Date:10/23/2001 11:42:01 AM
List:com.mysql.lists.win32

Hi List members,

I'm new to MySql and am working through Paul DuBois' book: MySql. In going through his tutorials, I've downloaded his distribution that contains pre-written mysql commands and data to make the manual entry easier. The problem is that I can't seem to run any of his scripts. He indicates that I should enter (at the mysql prompt):

mysql < create_student.sql;

I get error 1064 indicated a syntax error in line 1.

As for what I have and what I can do, I'm running the mysqld server and I can connect to it using mysql. The my.cnf configuration file (MySQL 3.23) is present and I've made just the most basic modifications. I can add tables and drop them and describe them.

I'm running WinMe. I've tried changing directories into where the MySQL distribution files are sitting and running MySql from there but to no avail.

I'm totally new to this and I would greatly appreciate any help,

mark