مشکل The MySQL server is currently offline
پاسخ : مشکل The MySQL server is currently offline
احتمالا سروریس mysql شما آسیب جدید دیده است باید لاگ های سرویس را بررسی کنید که طبق اون بتوان برای حل مشکل اقدام کرد
پاسخ : مشکل The MySQL server is currently offline
اینم لاگ ها :
کد:
InnoDB: Your database may be corrupt or you may have copied the InnoDB
InnoDB: tablespace but not the InnoDB log files. See
InnoDB: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html
InnoDB: for more information.
2014-05-02 05:25:11 7ff7641cf700 InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
2014-05-02 05:25:11 7ff7641cf700 InnoDB: Error: Fetch of persistent statistics requested for table "delavara_farshad"."gal_news" but the required system tables mysql.innodb_table_stats and mysql.innodb_index_stats are not present or have unexpected structure. Using transient stats instead.
2014-05-02 05:25:11 7ff7641cf700 InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
2014-05-02 05:25:11 7ff7641cf700 InnoDB: Error: Fetch of persistent statistics requested for table "delavara_farshad"."tbl_forosh" but the required system tables mysql.innodb_table_stats and mysql.innodb_index_stats are not present or have unexpected structure. Using transient stats instead.
2014-05-02 05:25:11 7ff7641cf700 InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
2014-05-02 05:25:11 7ff7641cf700 InnoDB: Error: Fetch of persistent statistics requested for table "delavara_farshad"."tbl_news" but the required system tables mysql.innodb_table_stats and mysql.innodb_index_stats are not present or have unexpected structure. Using transient stats instead.
2014-05-02 05:26:05 7ff76410c700 InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
2014-05-02 05:26:05 7ff76410c700 InnoDB: Error: Fetch of persistent statistics requested for table "parpatog_30dbcms"."vbseo_serviceupdate" but the required system tables mysql.innodb_table_stats and mysql.innodb_index_stats are not present or have unexpected structure. Using transient stats instead.
2014-05-02 05:26:06 7ff76410c700 InnoDB: Error: page 4 log sequence number 338713869
InnoDB: is in the future! Current system log sequence number 260426482.
InnoDB: Your database may be corrupt or you may have copied the InnoDB
InnoDB: tablespace but not the InnoDB log files. See
InnoDB: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html
InnoDB: for more information.
2014-05-02 05:26:06 7ff76410c700 InnoDB: Error: page 9 log sequence number 338713869
InnoDB: is in the future! Current system log sequence number 260426482.
InnoDB: Your database may be corrupt or you may have copied the InnoDB
InnoDB: tablespace but not the InnoDB log files. See
InnoDB: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html
InnoDB: for more information.
2014-05-02 05:26:07 7ff764251700 InnoDB: Error: page 75 log sequence number 360742481
InnoDB: is in the future! Current system log sequence number 260426482.
InnoDB: Your database may be corrupt or you may have copied the InnoDB
InnoDB: tablespace but not the InnoDB log files. See
InnoDB: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html
InnoDB: for more information.
پاسخ : مشکل The MySQL server is currently offline
نقل قول:
نوشته اصلی توسط
renjo
اینم لاگ ها :
کد:
InnoDB: Your database may be corrupt or you may have copied the InnoDB
InnoDB: tablespace but not the InnoDB log files. See
InnoDB: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html
InnoDB: for more information.
2014-05-02 05:25:11 7ff7641cf700 InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
2014-05-02 05:25:11 7ff7641cf700 InnoDB: Error: Fetch of persistent statistics requested for table "delavara_farshad"."gal_news" but the required system tables mysql.innodb_table_stats and mysql.innodb_index_stats are not present or have unexpected structure. Using transient stats instead.
2014-05-02 05:25:11 7ff7641cf700 InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
2014-05-02 05:25:11 7ff7641cf700 InnoDB: Error: Fetch of persistent statistics requested for table "delavara_farshad"."tbl_forosh" but the required system tables mysql.innodb_table_stats and mysql.innodb_index_stats are not present or have unexpected structure. Using transient stats instead.
2014-05-02 05:25:11 7ff7641cf700 InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
2014-05-02 05:25:11 7ff7641cf700 InnoDB: Error: Fetch of persistent statistics requested for table "delavara_farshad"."tbl_news" but the required system tables mysql.innodb_table_stats and mysql.innodb_index_stats are not present or have unexpected structure. Using transient stats instead.
2014-05-02 05:26:05 7ff76410c700 InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
2014-05-02 05:26:05 7ff76410c700 InnoDB: Error: Fetch of persistent statistics requested for table "parpatog_30dbcms"."vbseo_serviceupdate" but the required system tables mysql.innodb_table_stats and mysql.innodb_index_stats are not present or have unexpected structure. Using transient stats instead.
2014-05-02 05:26:06 7ff76410c700 InnoDB: Error: page 4 log sequence number 338713869
InnoDB: is in the future! Current system log sequence number 260426482.
InnoDB: Your database may be corrupt or you may have copied the InnoDB
InnoDB: tablespace but not the InnoDB log files. See
InnoDB: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html
InnoDB: for more information.
2014-05-02 05:26:06 7ff76410c700 InnoDB: Error: page 9 log sequence number 338713869
InnoDB: is in the future! Current system log sequence number 260426482.
InnoDB: Your database may be corrupt or you may have copied the InnoDB
InnoDB: tablespace but not the InnoDB log files. See
InnoDB: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html
InnoDB: for more information.
2014-05-02 05:26:07 7ff764251700 InnoDB: Error: page 75 log sequence number 360742481
InnoDB: is in the future! Current system log sequence number 260426482.
InnoDB: Your database may be corrupt or you may have copied the InnoDB
InnoDB: tablespace but not the InnoDB log files. See
InnoDB: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html
InnoDB: for more information.
تیبل های اصلی innodb سرویس mysql سرورتون آسیب دیده و حذف شده اند این تقریبا بدترین مشکلی هستش که برای mysql میتونه ایجاد بشه...
پاسخ : مشکل The MySQL server is currently offline
پاسخ : مشکل The MySQL server is currently offline
نقل قول:
نوشته اصلی توسط
renjo
دوستانی که شبیه مشکل ایشون دارند از روش زیر برای حل استفاده کنند :
کد:
/etc/init.d/mysql stop
mysqld_safe --skip-grant-tables &
دستور زیر را بزنید :
سپس پسورد روت mysql سرور برای شما نمایش داده میشود :
دستورات زیر را بزنید:
کد:
mysql -u root
\u mysql
update user set password=("NEW-ROOT-PASSWORD") where User='root';
flush privileges;
quit
به جای عبارت NEW-ROOT-PASSWORD پسوردی که خروجی دستور cat /root/.my.cnf به شما داد را وارد کنید.
و در اخر :
کد:
/etc/init.d/mysql start
mysqladmin proc
موفق باشید.