I'm experiencing a problem with mysql, there's a message error on windows server event viewer since date October 3rd, before it was fine my cacti working normally.
These are the message error :
C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: Table '.\cacti\poller_item' is
marked as crashed and should be repaired
How do i solved these problem ?
Problem with mysql
Moderators: Developers, Moderators
Re: Problem with mysql
Google 'repair crashed mysql table window' and you will find your answer. It is not Cacti specific
--
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Re: Problem with mysql
i used these command, which i got from http://stackoverflow.com/questions/2296 ... phpmyadmin
mysql -u username -p
mysql> use dbname;
mysql> repair table tablename;
when i type "use mysqld" i got an error message unknown database
mysql -u username -p
mysql> use dbname;
mysql> repair table tablename;
when i type "use mysqld" i got an error message unknown database
Re: Problem with mysql
Solved... After looking for answer on this thread http://forums.cacti.net/viewtopic.php?f ... 5&start=15
Just type "mysqlcheck -u root -p --repair cacti" on command prompt.
1 more question if i may ask, why can't repair database mysqld.pdb ? it's keep telling me that "error opening database"
Just type "mysqlcheck -u root -p --repair cacti" on command prompt.
1 more question if i may ask, why can't repair database mysqld.pdb ? it's keep telling me that "error opening database"
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Problem with mysql
In MySQL 5.1 there is a my.cnf setting to autorepair MyISAM tables. You need to set it and then restart the MySQL service. Please google the setting. Post your finding here for the rest of the community.
Thanks,
TheWitness
Thanks,
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 3 guests