Re: mysqldump error 1064 for database Use command

2010-09-08 Thread Nitin Mehta
I'm not sure but you might try with sql_mode set to ANSI. Otherwise try the dump remotely from a Linux box. Regards, Nitin From: Manasi Save To: win.a Cc: "mysql@lists.mysql.com" Sent: Wed, September 8, 2010 3:57:40 PM Subject: Re: mysql

Re: mysqldump error 1064 for database Use command

2010-09-08 Thread Manasi Save
Hi win.a,   I tried with another user the problem still persists. I am getting same error for another user as well. -- Regards, Manasi Save On Tue, 7 Sep 2010 11:41:35 0800, "win.a" wrote: use another user and dump the data ,eg the root . > mysqldump -uroot -p --al-databases >AllNew_Databa

Re: mysqldump error 1064 for database Use command

2010-09-06 Thread Manasi Save
No it does not. But when I dump database name "mydb" it does. but not the database with name "1". -- Regards, Manasi Save On Mon, 06 Sep 2010 09:23:21 0200, Jangita wrote: On 06/09/2010 6:54 a, Manasi Save wrote: > > Dear Nitin, > > > > I have newly installed mysql on this server. > >

Re: mysqldump error 1064 for database Use command

2010-09-06 Thread Jangita
On 06/09/2010 6:54 a, Manasi Save wrote: Dear Nitin, I have newly installed mysql on this server. mysql> Select version(); +-+ | version() | +-+ | 5.1.22-rc-Debian_2~ppa5-log | +-+ Earlier I use to run the same

Re: mysqldump error 1064 for database Use command

2010-09-05 Thread Manasi Save
: "mysql@lists.mysql.com" Sent: Sat, September 4, 2010 12:06:27 PMSubject: mysqldump error 1064 for database Use commandHi All, I have 10 mysql databases all the tables use MyIsAm mysql storage engine. Database names are 1,2,3,4,...10. When I use mysqldump command with --all-databases opt

Re: mysqldump error 1064 for database Use command

2010-09-04 Thread Nitin Mehta
name (of database in your case). Hope that helps. Regards, Nitin From: Manasi Save To: "mysql@lists.mysql.com" Sent: Sat, September 4, 2010 12:06:27 PM Subject: mysqldump error 1064 for database Use command Hi All,   I have 10 mysql databases all

mysqldump error 1064 for database Use command

2010-09-03 Thread Manasi Save
Hi All,   I have 10 mysql databases all the tables use MyIsAm mysql storage engine.  Database names are 1,2,3,4,...10.   When I use mysqldump command with --all-databases option. This gives me following error:   mysqldump -u myuser -p --all-databases > AllNew_Databases_20100904.sql   ERROR MESSAGE

Re: Error 1064

2010-06-08 Thread Carsten Pedersen
Brad Scott skrev: Any line beginning with just a number (ie 9, 10, 16) causes a failure. What am I missing? backticks. Use `9`, `10`, etc. Having column names that begin with numbers is a really bad design decision. "9a123" (unquoted, of course) will work, as you've noticed, but e.g. "

Re: Error 1064

2010-06-08 Thread Mattia Merzi
Hi Brad, 2010/6/8 Brad Scott : [...] > Any line beginning with just a number (ie 9, 10, 16) causes a failure. What > am I missing? you should add backticks ( ` ) at both ends of the column name, e.g. `7c` varchar(255) NOT NULL default '', I think your export should have been done with the opt

Error 1064

2010-06-08 Thread Brad Scott
I am receiving this error: ERROR 1064: You have an error in your SQL syntax. Check the manual that corresponds to you MySQL server version for the right syntax to use near '16 varchar(255) NOT NULL default 'Not applicable', 17a varch I have version 4.0.16 and have a dum

Re: Error 1064 on a basic UPDATE query

2007-10-15 Thread Baron Schwartz
7; WHERE (`ORDERID` = '694215576aac60f10c9eebe4a5a39d0f'); ERROR 1064 (42000): 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 'UPDATE `tblTransaction` SET `TYPE` = 'Manual' WHERE (`ORDERID` = '694

Error 1064 on a basic UPDATE query

2007-10-15 Thread James Graham
aac60f10c9eebe4a5a39d0f'); ERROR 1064 (42000): 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 'UPDATE `tblTransaction` SET `TYPE` = 'Manual' WHERE (`ORDERID` = '694215576aac60' at

First essay : error 1064

2006-12-11 Thread Thibaud Hulin
Hi ! I'm a beginner with mysql. I just installed the phpMyAdmin 2.9.1.1-Debian-1 / mysql 14.12 Distrib 5.0.30 for a soft (koha), but I have an error when I try to install the base : Creating the MySQL database for Koha... 0 ERROR 1064 (42000) at line 772: You have an error in your SQL s

First essay - ERROR 1064

2006-12-11 Thread Thibaud Hulin
Hello ! I'm a beginner with mysql. I just installed the phpMyAdmin 2.9.1.1-Debian-1 / mysql 14.12 Distrib 5.0.30 for a soft (koha), but I have an error when I try to install the base : Creating the MySQL database for Koha... 0 ERROR 1064 (42000) at line 772: You have an error in you

Re: Error 1064 when importing 4.0 dump into 4.1 via command line

2006-09-26 Thread Carlos Proal
words. Carlos On 9/26/06, Curious George <[EMAIL PROTECTED]> wrote: I dumped a database from a 4.0 mysql and am attempting to move it to a server running 4.1 - using the command line: $ mysql -u root -pmypassword empty4.1db < 4.0dump.sql The result: ERROR 1064 (42000) at line 2: Yo

Error 1064 when importing 4.0 dump into 4.1 via command line

2006-09-26 Thread Curious George
I dumped a database from a 4.0 mysql and am attempting to move it to a server running 4.1 - using the command line: $ mysql -u root -pmypassword empty4.1db < 4.0dump.sql The result: ERROR 1064 (42000) at line 2: You have an error in your SQL syntax; check the manual that corresponds to y

re: ERROR 1064 (42000): You have an error in your SQL syntax;

2006-06-07 Thread Chris Sansom
At 15:19 +0100 7/6/06, Rob Desbois wrote: With the CHANGE clause of ALTER TABLE statement, you must provide the column definition, so something like this is what you need: ALTER TABLE actors CHANGE director_id actor_id MEDIUMINT UNSIGNED NOT NULL; or whatever your original definition is. Wo

RE: ERROR 1064 (42000): You have an error in your SQL syntax;

2006-06-07 Thread J.R. Bullington
bject: ERROR 1064 (42000): You have an error in your SQL syntax; Hi All, gee I really hate bugging you all for this. I looked at this page, http://dev.mysql.com/doc/refman/5.0/en/alter-table.html which has this, To change column |a| from |INTEGER| to |TINYINT NOT NULL| (leaving the name the

re: ERROR 1064 (42000): You have an error in your SQL syntax;

2006-06-07 Thread Rob Desbois
nge column |b| from |CHAR(10)| to |CHAR(20)| as well as renaming it from |b| to |c|: ALTER TABLE t2 MODIFY a TINYINT NOT NULL, CHANGE b c CHAR(20); for changing the name of a column, right? So, why doesn't the below work? mysql> ALTER TABLE actors CHANGE director_id actor_id; I get this,

Re: ERROR 1064 (42000): You have an error in your SQL syntax;

2006-06-07 Thread Chris Sansom
At 0:09 +1000 8/6/06, Mark Sargent wrote: ALTER TABLE t2 MODIFY a TINYINT NOT NULL, CHANGE b c CHAR(20); for changing the name of a column, right? So, why doesn't the below work? mysql> ALTER TABLE actors CHANGE director_id actor_id; I'm no great expert myself, but off the top of my head, may

ERROR 1064 (42000): You have an error in your SQL syntax;

2006-06-07 Thread Mark Sargent
well as renaming it from |b| to |c|: ALTER TABLE t2 MODIFY a TINYINT NOT NULL, CHANGE b c CHAR(20); for changing the name of a column, right? So, why doesn't the below work? mysql> ALTER TABLE actors CHANGE director_id actor_id; I get this, ERROR 1064 (42000): You have an error in

(SOLVED) Re: Error 1064: update .....select nested.

2006-03-16 Thread Truong Tan Son
ng Tan Son'" <[EMAIL PROTECTED]> Sent: Thursday, March 16, 2006 10:51 PM Subject: RE: Error 1064: update .select nested. AAAUUUGGGHHH!!! You used the dreaded "comma separated list" !!! ;-) A more explicit way to write the same thing posted by Sr. Cruz... upd

RE: Error 1064: update .....select nested.

2006-03-16 Thread SGreen
ECTED]' > > > Regards! > > -Mensaje original- > De: Truong Tan Son [mailto:[EMAIL PROTECTED] > Enviado el: Miércoles, 15 de Marzo de 2006 07:22 p.m. > Para: mysql@lists.mysql.com > Asunto: Error 1064: update .select nested. > > > Dear Sir,

RE: Error 1064: update .....select nested.

2006-03-16 Thread Ing. Edwin Cruz
--- De: Truong Tan Son [mailto:[EMAIL PROTECTED] Enviado el: Miércoles, 15 de Marzo de 2006 07:22 p.m. Para: mysql@lists.mysql.com Asunto: Error 1064: update .select nested. Dear Sir, MySQL-4.1.12 on RedHat Linux EL4: mysql> update TABLE1 set FIELD1=(select FIELD2 from TABLE2 where

Error 1064: update .....select nested.

2006-03-15 Thread Truong Tan Son
Dear Sir, MySQL-4.1.12 on RedHat Linux EL4: mysql> update TABLE1 set FIELD1=(select FIELD2 from TABLE2 where COLUMN2= '[EMAIL PROTECTED]') where COLUMN1='[EMAIL PROTECTED]'; ERROR 1064: You have an error in your SQL syntax. Check the manual that corresp onds to your M

error 1064 after upgrade to 5.0 from 4.1

2006-01-18 Thread Kerry Frater
Sorry I should have said. I get error 1064 whenever I am working with an integer or real column. char's are fine. Kerry Can someone help me. I was running v4.1 and just upgraded the version to v5.0. Most of my tables are MyISAM with some InnoDb. Most o

Re: error 1064 when trying to create table

2005-12-26 Thread Gleb Paharenko
Hello. > FOREIGN KEY (A_areaNum) REFERENCES Area(areaNum), Put Area in backticks ('`'). See: http://dev.mysql.com/doc/refman/5.0/en/legal-names.html Nabegh Al-Thalji wrote: > When I execute the following query > > CREATE TABLE Sponsor ( > sNum INTEGER UNSIGNED NOT NULL, > sAdr

RE: error 1064 when trying to create table

2005-12-25 Thread Detlev Jaeger
Hi, You are using a reserved function name "AREA" (polygon function) as a fieldname. Simply change the field's name or try using quotes around it... Detlev > [...] > FOREIGN KEY (A_areaNum) REFERENCES Area(areaNum), > [...] > Any ideas? -- MySQL General Mailing List For list archives:

error 1064 when trying to create table

2005-12-25 Thread Nabegh Al-Thalji
When I execute the following query CREATE TABLE Sponsor ( sNum INTEGER UNSIGNED NOT NULL, sAdrBlock CHAR(2), sCivil_ID CHAR(12), sDateOfBirth DATE, sDrvLicenseExp DATE, sDrvLicenseNum CHAR(9), sGender ENUM('M','F'), sName VARCHAR(20), sStatus VARCHAR(20), sTelephone CHAR(7), A_areaNum INTEGER UNS

Re: ERROR 1064: You have an error in your SQL syntax....

2005-04-08 Thread Peter Brawley
The following caused the same error of: ERROR 1064: 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 'select max(length(testName)) from test)' at line 1 select testName from test where length(testName)

ERROR 1064: You have an error in your SQL syntax....

2005-04-08 Thread Chuzo Okuda
following caused the same error of: ERROR 1064: 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 'select max(length(testName)) from test)' at line 1 select testName from test where length(testName) = (s

Error 1064: type mismatch

2004-12-15 Thread Nicolás Conde
Hello list. I'm new to MySQL but so far I like it a lot. I have it running on WinNT4 w/SP6a and I use MySQL Admin. I'm having trouble running an application from a third party, this application launches but whenever I try a query, I get a message that says "Type mismatch for field , exp

Re: Error 1064 in three tables. How do I fix them.

2004-11-07 Thread Gleb Paharenko
eed a little newbie help. > > In my database I have three tables that I am having problems with and each > one has the same error. > > Here is the error. > > 1064 - You have an error in your SQL syntax; check the manual that > corresponds to your MySQL server versio

Error 1064 in three tables. How do I fix them.

2004-11-06 Thread Leon Sargent
Good Morning. I am new to the list and new to Mysql. I am in the process of running a website and I need a little newbie help. In my database I have three tables that I am having problems with and each one has the same error. Here is the error. 1064 - You have an error in your SQL syntax

Re: Error 1064 (Syntax error) after adding ENUM or Set types to table definition

2004-05-24 Thread Michael Stassen
e from my current DB to make adjustments and also migrate to Innodb tables. In the process I have tried to add some ENUM types in select table. Obviously, I am doing something wrong as each one give me a syntax error 1064 when I try to source in the text file. I've read the manual and do not s

Error 1064 (Syntax error) after adding ENUM or Set types to table definition

2004-05-24 Thread Bartis, Robert M (Bob)
I created the dump file from my current DB to make adjustments and also migrate to Innodb tables. In the process I have tried to add some ENUM types in select table. Obviously, I am doing something wrong as each one give me a syntax error 1064 when I try to source in the text file. I've

Re: ERROR 1064?

2004-04-15 Thread Egor Egorov
Klaus Neudecker <[EMAIL PROTECTED]> wrote: > Hi, > I am comparable new to mySQL, so sorry if I might bother you with a > newby Problem: > > When I connect to the database via phpMyAdmin or via the mySQL Command > Line Tool as root I have problems creating a view (root has all > privelegs, and t

ERROR 1064?

2004-04-15 Thread Klaus Neudecker
Hi, I am comparable new to mySQL, so sorry if I might bother you with a newby Problem: When I connect to the database via phpMyAdmin or via the mySQL Command Line Tool as root I have problems creating a view (root has all privelegs, and the pure select statement works fine in the line before):

Re: Create table 'LIKE' ....Error 1064

2004-03-28 Thread Paul DuBois
ts: mysql> CREATE TABLE students2 LIKE students; ERROR 1064: 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 'LIKE students' at line 1 mysql> CREATE TABLE students2 (LIKE students); ERROR 1064: You

Create table 'LIKE' ....Error 1064

2004-03-28 Thread Khashan
LIKE students; ERROR 1064: 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 'LIKE students' at line 1 mysql> CREATE TABLE students2 (LIKE students); ERROR 1064: You have an error in your SQL synt

Re: Error 1064 in Access95

2004-02-24 Thread Daniel Kasak
Hill, Keith wrote: I am converting an Access95 DB to mySQL. The interface will remain in Access95. I encountered a problem with one of the existing queries. The code for the query is: SELECT DISTINCTROW ManualChecksPrinted.AccountNum, ManualChecksPrinted.CheckNumber, ManualChecksPrinted.A

Error 1064 in Access95

2004-02-24 Thread Hill, Keith
I am converting an Access95 DB to mySQL. The interface will remain in Access95. I encountered a problem with one of the existing queries. The code for the query is: SELECT DISTINCTROW ManualChecksPrinted.AccountNum, ManualChecksPrinted.CheckNumber, ManualChecksPrinted.AccountID, ManualChecksPr

Re: Error 1064 in native function (?)

2003-09-08 Thread Gustavo Castro
ction with little modifications. > - Original Message - > From: "Sergei Golubchik" <[EMAIL PROTECTED]> > To: "Gustavo Castro" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]>; "Fortuno, Adam" <[EMAIL PROTECTED]> > Sent: M

Re: Error 1064 in native function (?)

2003-09-08 Thread Gustavo Castro
ith little modifications. - Original Message - From: "Sergei Golubchik" <[EMAIL PROTECTED]> To: "Gustavo Castro" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; "Fortuno, Adam" <[EMAIL PROTECTED]> Sent: Monday, September 08, 2003 10:30 PM Subj

Re: Error 1064 in native function (?)

2003-09-08 Thread Sergei Golubchik
Hi! On Sep 08, Gustavo Castro wrote: > Hello, > i?m using the 3.23.57 version and i?ve declared a native function, but when > i call it (SELECT GETUPDATE(1);) i > get this line > > ERROR 1064: You have an error in you SQL syntax near '(1)' at line 1; > > I

Error 1064 in native function (?)

2003-09-08 Thread Gustavo Castro
Hello, i´m using the 3.23.57 version and i´ve declared a native function, but when i call it (SELECT GETUPDATE(1);) i get this line ERROR 1064: You have an error in you SQL syntax near '(1)' at line 1; I think i´ve followed all the steps right: 1)added the line in lex.h {

AW: mutual declarations produce Error 1064

2003-08-14 Thread Morten Gulbrandsen
4 rows in set (0.00 sec) mysql> mysql> # from now on the coding causes trouble mysql> mysql> ALTER TABLE EMPLOYEE -> FOREIGN KEY (SUPERSSN) REFERENCES EMPLOYEE(SSN) -> ON DELETE SET NULL -> ON UPDATE CASCADE; ERROR 1064: You have an error in your SQL syntax. Check t

AW: mutual declarations produce Error 1064

2003-08-14 Thread Morten Gulbrandsen
van Engen [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 13. August 2003 15:36 An: Morten Gulbrandsen Cc: 'Victoria Reznichenko'; [EMAIL PROTECTED] Betreff: Re: mutual declarations produce Error 1064 Morten, In your extremely long mail, I think I managed to find your question and removed all

Re: mutual declarations produce Error 1064

2003-08-14 Thread Fred van Engen
YEE > -> FOREIGN KEY (SUPERSSN) REFERENCES EMPLOYEE(SSN) > -> ON DELETE SET NULL > -> ON UPDATE CASCADE; > ERROR 1064: You have an error in your SQL syntax. Check the manual that > corresp > onds to your MySQL server version for the right syntax to use near &

mutual declarations produce Error 1064

2003-08-14 Thread Morten Gulbrandsen
), FOREIGN KEY (SUPERSSN) REFERENCES EMPLOYEE(SSN), INDEX (DNO, DNUMBER), FOREIGN KEY (DNO) REFERENCES DEPARTMENT(DNUMBER) # this is declared in department )TYPE = INNODB; === ERROR 1064 at line 9: You have an error in your SQL syntax. Check the manual th at corresponds to your MySQL

Re: mutual declarations produce Error 1064

2003-08-14 Thread Victoria Reznichenko
"Morten Gulbrandsen" <[EMAIL PROTECTED]> wrote: > USE company; > > # SHOW INNODB STATUS; > > DROP TABLE IF EXISTS DEPARTMENT; > > CREATE TABLE DEPARTMENT > ( > DNAME VARCHAR(15) NOT NULL, > DNUMBER INT NOT NULL, > MGRSSN CHAR(9) NOT NULL, > MGRS

AW: mutual declarations produce Error 1064

2003-08-14 Thread Morten Gulbrandsen
me what could be wrong ? Yours sincerely Morten Gulbrandsen -Ursprüngliche Nachricht- Von: Victoria Reznichenko [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 7. August 2003 13:54 An: [EMAIL PROTECTED] Betreff: Re: mutual declarations produce Error 1064 "Morten Gulbrandsen"

AW: mutual declarations produce Error 1064

2003-08-12 Thread Morten Gulbrandsen
the users I have created ? I expect one user and one password for entering mysql, And depending upon which database I'd like to use I expect for each database I'd like to use, one second password, This seems to be another topic, When I write mysql> grant all on company.* to '

Re: mutual declarations produce Error 1064

2003-08-08 Thread Victoria Reznichenko
"Morten Gulbrandsen" <[EMAIL PROTECTED]> wrote: > I think something is wrong with my administration, > > Basically I get these messages, > > ERROR 1005 at line 9: Can't create table '.\company\department.frm' > (errno: 150) > > ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using passw

Re: mysqldump suddenly returns error 1064 [sorted]

2003-05-29 Thread David Precious
> > mysqldump: Got error: 1064: You have an error in your SQL syntax > > near '404 READ /*!32311 LOCAL */' at line 1 when using LOCK TABLES > > > > Anyone got any ideas what could be causing this to happen? > Table name :) It consists only of digits. Us

Re: mysqldump suddenly returns error 1064

2003-05-28 Thread Victoria Reznichenko
indicating that there's a problem with the SQL syntax - > however, this is the SQL being written out by mysqldump, and nothing on the > server has changed which I would expect to cause this - MySQL hasn't been > reconfigured or upgraded or anything. > > The error I'

mysqldump suddenly returns error 1064

2003-05-28 Thread David Precious
sqldump, and nothing on the server has changed which I would expect to cause this - MySQL hasn't been reconfigured or upgraded or anything. The error I'm seeing is: mysqldump: Got error: 1064: You have an error in your SQL syntax near '404 READ /*!32311 LOCAL */' at li

Re: syntax error 1064 ||

2003-03-06 Thread Dan Nelson
FIELDS TERMINATED > BY '\t' LINES TERMINATED BY '\r' (manufacture name,name,street > address,city,state,zipcode) > Error: 1064 - You have an error in your SQL syntax near 'name,name,street > address,city,state,zipcode)' at line 1 You have field names with

syntax error 1064 ||

2003-03-06 Thread Lou Ann Hammond
name,name,street address,city,state,zipcode) Error: 1064 - You have an error in your SQL syntax near 'name,name,street address,city,state,zipcode)' at line 1 when I attempt to LOAD DATA INFILE the tab delimited field ascii file. = Field

error 1064 and sol 8

2003-01-24 Thread mysqlhelp
okay - mysql build is killing me here .. when I run mysql_install_db, gives me the following error ERROR 1064 : use mysql; INVALID SYNTAX I cannot get mysqld to start - it keeps saying ERROR: 1064 syntax error near '' at line 1 what is goi

Re: mysqldump ERROR 1064

2003-01-05 Thread Bruce MacDonald
- Original Message - From: "David & Angela Ehmer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, January 04, 2003 11:00 PM Subject: mysqldump ERROR 1064 > Hi > > I am having problems generating the mysqldump file. I have tried a range

Re: mysqldump ERROR 1064

2003-01-04 Thread John Coder
On Sun, 2003-01-05 at 00:00, David & Angela Ehmer wrote: > Hi > > I am having problems generating the mysqldump file. I have tried a range of > options and carefully studied several tutorials I have on using this > command. Each time I get the following errror. > > ERR

mysqldump ERROR 1064

2003-01-04 Thread David & Angela Ehmer
Hi I am having problems generating the mysqldump file. I have tried a range of options and carefully studied several tutorials I have on using this command. Each time I get the following errror. ERROR 1064 you have an error in your SQL syntax near 'mysqldump -u root -p adrienne net

re: ERROR 1064 ...

2002-10-01 Thread Egor Egorov
ip VARCHAR(10) NULL, hp> phone VARCHAR(20) NULL, hp> interests VARCHAR(255) NULL hp> } hp> then I tried : hp> mysql samp_db -u root -p < create_member.sql hp> and get the following message : hp> [papabaer@hanna papabaer]$ mysql samp_db -u root -p < create_me

ERROR 1064 ...

2002-10-01 Thread hans privat
mber.sql and get the following message : [papabaer@hanna papabaer]$ mysql samp_db -u root -p < create_member.sql Enter password: ERROR 1064 at line 1: You have an error in your SQL syntax near '{ last_name VARCHAR(20) NOT NULL, first_name VARCHAR(20) NOT NULL, suffix

Re: error 1064

2001-09-12 Thread Gene Gurevich
That's what I used : mysql testdb < exp. Sorry about the typo Gene --- Gerald Clark <[EMAIL PROTECTED]> wrote: > > > Gene Gurevich wrote: > > > Hi all: > > > > I'm trying to import the tables from the dump file > > via > > > > mysqldump testdb < exp > > That should be: > > mysql testdb

Re: error 1064

2001-09-12 Thread Gerald Clark
Gene Gurevich wrote: > Hi all: > > I'm trying to import the tables from the dump file > via > > mysqldump testdb < exp That should be: mysql testdb < exp > > and it complaints about the command in the export > file: > DROP TABLE IF EXISTS db; > CREATE TABLE db ( > Host char(60) NOT N

error 1064

2001-09-12 Thread Gene Gurevich
Hi all: I'm trying to import the tables from the dump file via mysqldump testdb < exp and it complaints about the command in the export file: DROP TABLE IF EXISTS db; CREATE TABLE db ( Host char(60) NOT NULL default '', Db char(64) NOT NULL default '', User char(16) NOT NULL default '',

Re: I get SYNTAX ERROR 1064 with mySQL 3.2.3 when using delete as shown (a correction)

2001-06-29 Thread Gerald Clark
MySQL doen not yet support nested queries. Jawad Khan wrote: > server version 3.23.35 > > >> -Original Message- >> From:Khan, Jawad [COLE:6S34:EXCH] >> Sent:Thursday, June 28, 2001 1:13 PM >> To: '[EMAIL PROTECTED]' &

RE: I get SYNTAX ERROR 1064 with mySQL 3.2.3 when using delete a

2001-06-28 Thread Don Read
On 28-Jun-01 Jawad Khan wrote: > Hope you can find the problem in the following SQL command: > > delete from alarms where raiseTime = ( select MIN(raiseTime) from alarms) > limit 1 ; > That is a sub-select, currently unsupported in MySQL. try : delete from alarms order by raiseTime limit 1;

RE: I get SYNTAX ERROR 1064 with mySQL 3.2.3 when using delete as shown (a correction)

2001-06-28 Thread Jawad Khan
server version 3.23.35 > -Original Message- > From: Khan, Jawad [COLE:6S34:EXCH] > Sent: Thursday, June 28, 2001 1:13 PM > To: '[EMAIL PROTECTED]' > Subject: I get SYNTAX ERROR 1064 with mySQL 3.2.3 when using delete > as shown > > Ho

I get SYNTAX ERROR 1064 with mySQL 3.2.3 when using delete as sho wn

2001-06-28 Thread Jawad Khan
Hope you can find the problem in the following SQL command: delete from alarms where raiseTime = ( select MIN(raiseTime) from alarms) limit 1 ; raiseTime is of type BIGINT.

Install question and an ERROR 1064 question

2001-04-25 Thread Mike Millner
ql after entering the previous lines fine, I get the following error: ./mysql -uroot -e"insert into user(Host,User,Password) values('localhost','guestbook',password('guestbook')" mysql ERROR 1064 at line 1: You have an error in your SQL syntax near 'user(Ho