Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i have a database an i can view it's tables with phpmyadmin but there is a table that i can't do anything to it.not repairing nor optimizing. please help me to resolve this issue
You've been here for FIVE YEARS now...you should know that, unless you provide usable details, there is NOTHING we can tell you...we can't guess.
You say nothing about your version/distro of Linux, MySQL, what you've done/tried, ANY diagnostics at all? Short answer: look in your MySQL logs for hints. Chances are, it has to do with permissions on that table. Longer answer: no guesses, since you provide no details.
You've been here for FIVE YEARS now...you should know that, unless you provide usable details, there is NOTHING we can tell you...we can't guess.
You say nothing about your version/distro of Linux, MySQL, what you've done/tried, ANY diagnostics at all? Short answer: look in your MySQL logs for hints. Chances are, it has to do with permissions on that table. Longer answer: no guesses, since you provide no details.
sorry about that.i use cloudlinux on my server and the version of mysql is 5.6.22.when i connect to phpmyadmin all of the tables from a certain db works fine but there is just one table that seems to have a issue.when i click to brows it it just shows Loading phrase on the screen and nothing happens.
i tries to repair and optimize the table but they didn't help.also the table size is 23KB.
sorry about that.i use cloudlinux on my server and the version of mysql is 5.6.22.when i connect to phpmyadmin all of the tables from a certain db works fine but there is just one table that seems to have a issue.when i click to brows it it just shows Loading phrase on the screen and nothing happens. i tries to repair and optimize the table but they didn't help.also the table size is 23KB.
23k is TINY. And, unless you have permissions to access that database/table, clicking ANYTHING that affects it won't do anything, obviously. Contact your hosting provider, and ask them. Since this is a hosted server, unless YOU set up MySQL and configured EVERYTHING on it, they will have to assist you.
Quote:
btw which log files should i check ?
Quite obviously, the MySQL log files, since you're trying to access a MySQL database.
thank you for your response but i'm the sys admin and i checked everything.i can't even repair or check that table.every table on that db works fine but i don't know why i have this stupid problem with this table
!!!
thank you for your response but i'm the sys admin and i checked everything.i can't even repair or check that table.every table on that db works fine but i don't know why i have this stupid problem with this table!!!
You're the admin, so you should know (as said in the first reply), to provide details. Again, you've been here five years....
Quote:
Originally Posted by devilboy09
i get this error
myisamchk: warning: 1 client is using or hasn't closed the table properly
when i issue this command myisamchk /var/lib/mysql/nanofa_eshterak/members.MYI
didn't work.the db size is just 10MB and it takes a long time and nothing returns in std output
Interesting, especially since you said in post #3, your first reply, that it was 23k...and now it's 10MB...which is it? And you do realize that nothing returning, means the command finished, right?
Have you tried running "REPAIR TABLE xxxx" from the mysql prompt?????
Interesting, especially since you said in post #3, your first reply, that it was 23k...and now it's 10MB...which is it? And you do realize that nothing returning, means the command finished, right?
Have you tried running "REPAIR TABLE xxxx" from the mysql prompt?????
i said earlier that i tried to repair and check the table, of course i did it from CLI.
btw i said the table is 23K the whole database has size of 23MB
i said earlier that i tried to repair and check the table, of course i did it from CLI.
Saying "of course" is meaningless....we can't guess/know what you've done or tried can we? We've given you several things to do/try, and aside from "of course", you've not said what you HAVE done, or posted the results of those commands. If you're not going to participate in the conversation, there's not much point in posting.
Quote:
btw i said the table is 23K the whole database has size of 23MB
Saying "of course" is meaningless....we can't guess/know what you've done or tried can we? We've given you several things to do/try, and aside from "of course", you've not said what you HAVE done, or posted the results of those commands. If you're not going to participate in the conversation, there's not much point in posting.
Ok..but 23MB is still tiny.
It's a baby-fart of a db.
I had a 31G Zabbix with a busted table.
Crunched all night long.
23MB? Pft. I think I lost that formatting.
If you're worried about it, export it first.
Code:
mysql -uroot -p nanofa_eshterak > /path/to/$(date +%F)-nanofa_eshterak.sql
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.