This has nothing to do with perl but with MySQL. Please bear with me :)
I created a new table yesterday and inserted some values from an old table to the new table (on a live server but it was unlikely for anybody to access the site during that time). The syntax used was:
INSERT INTO new_table (col1, col2) SELECT col1, col2 FROM old_table;
I did a SHOW TABLES and DESCRIBE new_table and verified that the new table was created and the values were inserted correctly.
I then accessed a page from the browser and everything looked fine - this page pulled out values from the new table.
Then I modified the specs of two columns of the new_table (I had done this before without problems). I didn't get any errors with the modifications.
After that, I accessed the page again from the broswer. This time round, the sql select didn't work. Curious, I did a SHOW TABLES and to my surprise, the new table was gone.
What could have happened? Have you encountered this sort of things before?
In reply to OT: complete loss of a new table by kiat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |