Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-17-2004, 08:16 PM   #1
LQ Newbie
Registered: Nov 2003
Distribution: Red Hat 8.0, Mandrake 9.1 9.2
Posts: 23

Rep: Reputation: 16
MYSQL DROP TABLE not working after restoring from backup.

Hi .
Using Mandrake 9.2 and MYSQL 4.0.15 . Still a newbie here. I restored system
recently from a file backup. I also have a Sql script file that has the most
recent data in it . A PHP app uses the database and works fine still, adds and deletes data OK. I have used the sql script before to restore the database and should be correct..
First line of the script fails , Being DROP TABLE IF EXISTS 'tablename';
I have tried logging in as root into MYSQL and executing the DROP TABLE by hand on the same database. I get ERROR 6 : Error on delete of './databasename/tablename.MYI' (Errcode: 13). I have changed to the MYSQL database and checked the user table and
the root user is Y for DROP table priviledges . Database files have group mysql and owner mysql 660 privileges. Any Suggestions on how I can get DROP to work again
please ?

PS . Found it the directory permissions for the database were wrong !

Last edited by leongoogs; 06-18-2004 at 08:27 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Restoring mysql databasa not working powadha Linux - General 2 02-28-2005 01:04 PM
Restoring working but messed up partition table mjs2020 Linux - Hardware 1 12-06-2004 07:19 PM
MySQL non-realtime table-by-table mirroring Passive Linux - Software 1 01-20-2004 01:11 PM
How to import MS ACCESS Table including OLE filed into the MySQL Table ? myunicom Linux - General 1 11-28-2003 12:30 PM
Restoring backup dominique Linux - Newbie 3 12-06-2001 03:59 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration