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

Re: mysqldump error 1064 for database Use command

2010-09-08 Thread Nitin Mehta
: Wed, September 8, 2010 3:57:40 PM Subject: Re: mysqldump error 1064 for database Use command 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

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-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. mysql

Re: mysqldump error 1064 for database Use command

2010-09-05 Thread Manasi Save
...@artificialmachines.comTo: "mysql@lists.mysql.com" mysql@lists.mysql.comSent: 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 mysqldu

mysqldump error 1064 for database Use command

2010-09-04 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: mysqldump error 1064 for database Use command

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

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 dump file that I'm

Re: Error 1064

2010-06-08 Thread Mattia Merzi
Hi Brad, 2010/6/8 Brad Scott outlawsco...@hotmail.com: [...] 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

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.

Error 1064 on a basic UPDATE query

2007-10-15 Thread James Graham
'); 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 line 1 If anybody has any ideas, please let me know

Re: Error 1064 on a basic UPDATE query

2007-10-15 Thread Baron Schwartz
` = '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` = '694215576aac60' at line 1 If anybody has any ideas

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 your SQL

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 syntax

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 your MySQL

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: You have an error

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

2006-06-07 Thread Mark Sargent
)| 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, ERROR 1064 (42000): You have an error in your SQL

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,

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

2006-06-07 Thread Rob Desbois
|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, ERROR 1064

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

2006-06-07 Thread J.R. Bullington
: 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 same

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.

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

2006-03-16 Thread Ing. Edwin Cruz
:[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 mysql COLUMN2= '[EMAIL PROTECTED

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

2006-03-16 Thread SGreen
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 mysql COLUMN2= '[EMAIL PROTECTED]') where COLUMN1='[EMAIL PROTECTED]'; ERROR 1064

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

2006-03-16 Thread Truong Tan Son
, 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... update TABLE1 a INNER JOIN TABLE2 b on a.id = b.other_id set a.FIELD1=b.FIELD2 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 MySQL server version

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

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, sAdrBlock

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

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: You have an error in your SQL syntax....

2005-04-08 Thread Chuzo Okuda
. 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) = (select max

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) = (select max

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 field

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

2004-11-07 Thread Gleb Paharenko
. 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 version for the right syntax to use near '-5, 5' at line 1

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

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 read

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

2004-05-24 Thread Michael Stassen
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 see where my error is. Can

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: 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 the pure

Create table 'LIKE' ....Error 1064

2004-03-28 Thread Khashan
; 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 syntax. Check the manual that corresponds

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

2004-03-28 Thread Paul DuBois
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 have an error in your SQL

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,

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,

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 {GETUPDATE

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 think i?ve followed all the steps right

Re: Error 1064 in native function (?)

2003-09-08 Thread Gustavo Castro
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 Subject: Re: Error 1064 in native function (?) Hi! On Sep 08, Gustavo Castro

Re: Error 1064 in native function (?)

2003-09-08 Thread Gustavo Castro
with 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 Subject: Re: Error 1064 in native function (?) Hi! On Sep 08

AW: mutual declarations produce Error 1064

2003-08-14 Thread Morten Gulbrandsen
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 [EMAIL PROTECTED] wrote

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, MGRSTARTDATE

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 Fred van Engen
) 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 'FOREIGN KEY (SUPERSSN) REFERENCES EMPLOYEE(SSN) ON DELETE SET mysql

AW: mutual declarations produce Error 1064

2003-08-14 Thread 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 other stuff. On Wed, Aug 13, 2003 at 03:18:26PM +0200, Morten Gulbrandsen wrote: mysql mysql # from now

AW: mutual declarations produce Error 1064

2003-08-14 Thread Morten Gulbrandsen
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 'FOREIGN KEY (SUPERSSN) REFERENCES EMPLOYEE(SSN) ON DELETE SET mysql mysql ALTER TABLE EMPLOYEE - FOREIGN KEY (DNO

AW: mutual declarations produce Error 1064

2003-08-12 Thread Morten Gulbrandsen
[mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 7. August 2003 13:54 An: [EMAIL PROTECTED] Betreff: Re: mutual declarations produce Error 1064 Morten Gulbrandsen [EMAIL PROTECTED] wrote: USE company; # SHOW INNODB STATUS; DROP TABLE IF EXISTS DEPARTMENT; CREATE TABLE DEPARTMENT ( DNAME

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 password: YES)

Re: mysqldump suddenly returns error 1064

2003-05-29 Thread Victoria Reznichenko
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'm seeing is: mysqldump: Got error: 1064: You have an error in your SQL syntax near '404 READ /*!32311 LOCAL

Re: mysqldump suddenly returns error 1064 [sorted]

2003-05-29 Thread David Precious
snip 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? snip Table name :) It consists only of digits. Use -Q option of mysqldump. Aaahh! I

mysqldump suddenly returns error 1064

2003-05-28 Thread David Precious
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 line 1 when using LOCK TABLES Just for info: MySQL

syntax error 1064 ||

2003-03-06 Thread Lou Ann Hammond
,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 Type Null Default

Re: syntax error 1064 ||

2003-03-06 Thread Dan Nelson
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 spaces in them; you will have to escape them with backtics: BY '\t' LINES

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 goign on here

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 of options and carefully studied several

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 netno_db

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. ERROR 1064 you have an error in your

ERROR 1064 ...

2002-10-01 Thread hans privat
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 VAR' at line 2 now I

re: ERROR 1064 ...

2002-10-01 Thread Egor Egorov
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_member.sql hp Enter password: hp ERROR 1064 at line 1: You have an error in your SQL syntax near

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 NULL default

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 exp and it

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]' Subject: I get SYNTAX ERROR 1064 with mySQL 3.2.3 when

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.

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 Hope you can find the problem

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;

Install question and an ERROR 1064 question

2001-04-25 Thread Mike Millner
error: ./mysql -uroot -einsert 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(Host,User,Password) values('localhost','guestbook',password('guestbook')' at line 1 I also tried