Hi,

somehow phpmyadmin messed things up when I was trying to modify a table. The table disappeared, and now it's impossible to re-create it:


MariaDB [time]> create table etikettend_metainfo (userID integer(6) unsigned, stationsnummer integer(4) unsigned, primary key (userID)); ERROR 1005 (HY000): Can't create table `time`.`etikettend_metainfo` (errno: 150 "Foreign key constraint is incorrectly formed")
MariaDB [time]> show tables like 'etikettend%';
+------------------------------+
| Tables_in_time (etikettend%) |
+------------------------------+
| etikettend_etikettentypen    |
| etikettend_stationen         |
+------------------------------+
2 rows in set (0.001 sec)


Since the table has vanished, I'm finding myself unable to remove the key constraints, and trying to disable them was also unsuccessful.

It is not necessary to recover the vanished table because it had just been created and was still empty anyway.

But how do I fix this?
_______________________________________________
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos

Reply via email to