Hi,
I got the following error from mysql (client):
ERROR at line 1: Failed to open file 'varchar(255),', error: 2
The .sql file I were sending to stdin of mysql has the following content:
CREATE TABLE IDENTITY (
id bigint(20) unsigned DEFAULT '0' NOT NULL auto_increment,
company_id bigint(20) unsigned DEFAULT '0' NOT NULL,
contact_fname varchar(100),
contact_lname varchar(100),
contact_gender enum('M','Mme','Mlle'),
contact_function varchar(100),
contact_delivery_address text,
contact_invoice text,
reg_date timestamp(8),
confirmed_date date,
changed timestamp(14),
changed_by varchar(20),
source varchar(255),
PRIMARY KEY (id),
KEY IDENTITY_company_id (company_id)
);
.. and the only line that contains varchar(255) is:
source varchar(255),
And when I removed it from the file, everything did go ok..
So is the word 'source' a reserved field name in myISAM tables or what?
Just want to know what's going on.
The server that was complaining about the line is of version 3.32.21-beta.
The server that produced the .sql file (with mysqldump) is of version 3.22.32
Regards,
Johan
- please send replies directly to me
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php