gple Posted September 7, 2011 Share Posted September 7, 2011 I have been uploading a file via a php script and DBing the file name into a table. All of a sudden, the user starts to get this when trying to write the file name to the table. Table 'files' is read only apparently it works sometimes and then other times, the user gets the message above. anyone have this issue before. Link to comment https://forums.phpfreaks.com/topic/246585-table-is-read-only/ Share on other sites More sharing options...
nilansanjaya Posted September 7, 2011 Share Posted September 7, 2011 did you checked the mysql user's permission on that database ? Link to comment https://forums.phpfreaks.com/topic/246585-table-is-read-only/#findComment-1266327 Share on other sites More sharing options...
gple Posted September 10, 2011 Author Share Posted September 10, 2011 It works sometimes by for one user and then not other times Link to comment https://forums.phpfreaks.com/topic/246585-table-is-read-only/#findComment-1267548 Share on other sites More sharing options...
jcbones Posted September 10, 2011 Share Posted September 10, 2011 Are you locking the table for any reason? Link to comment https://forums.phpfreaks.com/topic/246585-table-is-read-only/#findComment-1267569 Share on other sites More sharing options...
gple Posted September 10, 2011 Author Share Posted September 10, 2011 i have no code that would lock the table. nothing has changed in months and then all of a sudden, i started to see this. what would cause a table to get locked. Link to comment https://forums.phpfreaks.com/topic/246585-table-is-read-only/#findComment-1267769 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.