List:General Discussion« Previous MessageNext Message »
From:kebede teferi Date:February 1 2010 11:38pm
Subject:I NEED HELP ON 'SOURCE(\.) MYSQL
View as plain text  
Hi, I'm very new to this and I need help.

What I want to do is to execute a source command statement from cmd to create tables and
populate them on a data base that I created in Mysql.  Here is what I did at CMD:
*I changed the directory from c:\> to mysql
*At mysql prompt i used -u root -p that prompted me to give my password.
*I put in my password and I was allowed to access the mysql server.
*I used the 'the use --database' command and I can see the database I created is active
and waiting to be worked on.
*then to run the script which is on a note pad with the name create and file type: sql I
typed the following at the mysql prompt:
*source create.sql;
  I get the error message '2' and '22' whichever way I tried the source
command.  I appreciate your help

Kebede Teferi




      
Thread
I NEED HELP ON 'SOURCE(\.) MYSQL kebede teferi2 Feb
  • Re: I NEED HELP ON 'SOURCE(\.) MYSQLJesper Wisborg Krogh2 Feb
  • Re: I NEED HELP ON 'SOURCE(\.) MYSQLJohn List2 Feb
  • Re: I NEED HELP ON 'SOURCE(\.) MYSQLCarlos Proal2 Feb
  • Re: I NEED HELP ON 'SOURCE(\.) MYSQLColin Streicher2 Feb
Re: I NEED HELP ON 'SOURCE(\.) MYSQLsureshkumarilu2 Feb