MySQL Forums
Forum List  »  Newbie

Re: table generation with scripts
Posted by: Albert Wu
Date: June 05, 2005 12:02PM

Your sql statement works fine on mySQL server..
Well first make sure you have the InnoDB engine installed..
There are options to install both InnoDB and MyIASM or each separately.
you can change this via the install options for mysql (Instance Config Wizard)

in order to create the tables you would first need to create a database
like CREATE DATABASE somedatabase;

then select it by using USE somedatabase;

from there just have your
CREATE TABLES ended with semicolons so sql will goto add the next table.

hope that helps :]

Options: ReplyQuote


Subject
Written By
Posted
Re: table generation with scripts
June 05, 2005 12:02PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.