MySQL TABLE - Showing no info at all - mysql

In this database I have 3 tables. Today all this tables worked perfectly but suddenly the table "sistema" stopped showing its content here in PhpMyAdmin and on the php coding also. The other 2 tables are working perfectly. This table "sistema" is the only one having this problem. I googled and: Repair table PhpMyAdmin Option didn't work at all. What could be causing this problem and How can I fix it. Thanks

Related

Wordpress - Is there a way to recover the table wp_term_relationships?

I'm trying to help a Non-Profit Organization with their site (which is built with Wordpress) that suddenly became "buggy"/odd: menus were missing, categories were empty, etc.
I'm no expert around Wordpress, so the first thing I did was to turn on the DEBUG mode and I get this message:
Error en la base de datos de WordPress:
[Table 'racidb.rc_term_relationships' doesn't exist]
So, next thing I did was check on the database (MySQL). When I login on phpMyAdmin, I can see the table on the left column but when I try to browse the content, I get this message error:
#1146 - Table 'racidb.rc_term_relationships' doesn't exist
I tried to repair the table, drop it and delete it's content with no luck. I keep getting the error #1146.
Unfortunately, there are no backups on the database so I just can't upload the table again.
According to them, the error happened at the same time in which Wordpress was updated to 4.2.6 (they got the automatic email of Wordpress the day this issue appeared).
My questions:
1) Does anyone know what might have happened?
2) Is there any way I can recover the data from MySQL?
3) Is there any way to recover the table "xx_term_relationships"? Besides creating manually all the records.
Many thanks in advanced!
Sorry for late response. But i had the same problem , my client website(WordPress) automatically gets updated.it was build on 3.2 version of WordPress.
Some of the tables gets corrupted and its appear in structures also in left side of tables.
To Solve This problem you need to repair your tables
Go to database > table structure.
Check the table which needs to repair.
select Repair Table from dropdown.

#145 - Table '.\phpmyadmin\pma_recent' is marked as crashed and should be repaired

I have installed Xampp on my Windows 7, and everything was working fine.. I had about 7 WP Websites/Databases setup, all working fine.
Then I got a note displaying at the bottom of one of the pages, saying that I didn't have a root password set, and was at risk. So I stupidly changed all three root users's passwords (ie: root:1 root:localhost root 127.0.0.1). Note: I changed all three to the same password.
Or course that broke Apache server totally. After research, I found that I should change the config.inc.php and add the new password there, and then restart the Server. Thankfully that worked!
But now.. on all my databases and for all tables inside of those DBs.. no matter which table I select to look at, I get this error:
Could not save recent table!
#145 - Table '.\phpmyadmin\pma_recent' is marked as crashed and should be repaired
All the tables seem to display correctly, it just shows this as an error at the top of the results page when I click on any table name. If I click on the same table name again, it displays without the error.. but if I go to another table, then come back to the previous table, the error will display again, etc, etc, etc..
It appears that the websites are still functioning.. and that the database tables can still display with or without the error showing.. and I appear to even be able to edit the tables, but I am not confident that all is well with the xampp install now.
Since this error started displaying straight after the changing of and the fixing of the root password, I have a feeling it is related. (If it makes any difference, under Users.. I still have the following users listed as not having a password set: "any" and "pma".) Does the PMA need to be set to the same password as the root to work properly?
Any help would be greatly appreciated!!!!!
In this case, it probably isn't related to the change of your root password.
Try opening up that table (by expanding "phpmyadmin" in the navigation area then clicking on the "pma_recent" table name). Go to the Operations tab and click the "Repair table" link (which is under the "Table maintenance" heading). This should tell MySQL to repair the table and should clear up your error message.
You could do what was suggested by "Isaac Bennetch" or could alternatively run the following to repair the corrupted table:
REPAIR TABLE 'table_name';

DROP TABLE not working?

I have tried relentlessly to drop a table, but it doesnt seem to work. It doesn't give me any error message, but it seems like its taking a long time (6+ hrs). The table has around 800K rows with two columns.
Additionally, I can't even access the table using sequel pro or through the command line interface. The sequel pro message says Loading, but it never loads and command line gets stuck in the command without any messags.
However, DESCRIBE command works with the table.
I have similar problem with another table that has fairly less number of rows at 1000+.
However, i have other tables in the database that works perfectly fine.
Are there any issues with this version of mysql (see below) or are there any other methods that will let me delete the table.
I am using MySQL 5.1.73 Source distribution

MySQL Error 2013 after a failed attempt to import

I was importing one table in a MySQL Server when the power went down. After this event I tried to query the table I was importing, but got the error 2013, only when I'm querying this table (the others work just fine).
I have physical access to the server, tried to execute any query from there (tried to SELECT, and even DROP TABLE) but still got the same error.
Does anybody know a solution where I can re-build only the table (without building the whole schema from scratch?)
I'm adding this as an answer rather than having lots of comments underneath. I must state in advance that I've not used MySQL but I have used SQL server a lot so I'm hoping that something I say may help.
You say the table is still there. Was it created as part of the operation you were doing or had it been there for a while?
What happens if someone else or a different account tries to access this table?
Is there anything on this page that is relevant to your problem?
http://dev.mysql.com/doc/refman/5.0/en/gone-away.html

phpMyAdmin mySql mamp - table does not open

I have a mysql table with just 4 columns and it contains just a bit more than 4800 records. My problem is that I can't open the table to see the content in phpmyadmin. When I try, i have no errors but the page becomes blank. I still have the phpmyadmin column menu on the left. The strange thing is when I try to export the data I can export all the records properly...
By the way I am using MAMP.
Hope someone can help me understand.
I'm a pretty big fan of Sequel Pro on OS X rather than using phpmyadmin. Maybe give that a try.