| Mailing List | | Home | | MySQL General - General MySQL discussion | | MaxDB - Everything about MaxDB, formerly known as SAP DB | | MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP | | Java Help - Mostly related to the MySQL Connector/J driver | | ODBC - ODBC with the MySQL Connector/ODBC driver | | Perl - Perl support for MySQL with DBI and DBD::mysql | | MySQL++ - Programming with the C++ API to MySQL |
|
|
  | |  | mysql 5.0: ERROR 1005 (HY000) | mysql 5.0: ERROR 1005 (HY000) 2004-06-06 - By saiph
Back
create database url;
use url
create table cath
(
name varchar(10) primary key,
) type=innodb;
create table site
(
url varchar(40) primary key,
aline varchar(40),
cath varchar(10),
constraint fk_cath foreign key(cath) references cath(name)
on delete set null on update cascade
) type=innodb;
ERROR 1005 (HY000): Can 't create table './url/site.frm ' (errno: 150)
the perms are correct indeed without the constraint there are no problems.
can you help me in testing?
mororover when running the test suite i have:
Errors are (from /usr/local/mysql/mysql-test/var/log/mysqltest-time) :
/usr/local/mysql/bin/mysqltest: At line 26: query 'CREATE TABLE `таблица`
(
поле CHAR(32) CHARACTER SET koi8r NOT NULL COMMENT "комментари? поля "
) COMMENT "комментари? таблиц? " ' failed: 1: Can 't create/write to file
'./test/яп
╟п╠п╩п╦яп╟.frm ' (Errcode: 22)
(the last line(s) may be the ones that caused the die() in mysqltest)
and this:
Errors are (from /usr/local/mysql/mysql-test/var/log/mysqltest-time) :
/usr/local/mysql/bin/mysqltest: At line 41: Result length mismatch
(the last line(s) may be the ones that caused the die() in mysqltest)
Below are the diffs between actual and expected results:
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
*** r/timezone.result Mon Dec 22 18:41:49 2003
--- r/timezone.reject Sun Jun 6 09:03:22 2004
***************
*** 1,7 ****
DROP TABLE IF EXISTS t1;
show variables like "timezone ";
Variable_name Value
! timezone MET
select @(protected):=FROM_UNIXTIME(1);
@(protected):=FROM_UNIXTIME(1)
1970-01-01 01:00:01
--- 1,7 ----
DROP TABLE IF EXISTS t1;
show variables like "timezone ";
Variable_name Value
! timezone MEST
select @(protected):=FROM_UNIXTIME(1);
@(protected):=FROM_UNIXTIME(1)
1970-01-01 01:00:01
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Failed 2/229 tests, 99.12% successful.
--
>here are more things in heaven and earth,
horatio, than are dreamt of in your philosophy.
--
MySQL General Mailing List
For list archives:
http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/mysql?unsub=mysql
@(protected)
|
|
 |