Fuasgail an rabhadh: mearachd stòr-dàta Tha cunntas colbh mysql.proc ceàrr.

Gu dearbh, ma chleachdas tuphpMyAdmin, chan urrainn dhut am mearachd a lorg càite a bheil an duilgheadas?

  • Tha an duilgheadas air sgàth gu bheil thu air MariaDB ùrachadh noStòr-dàta MySQLdreach.
  • Àrdaich MariaDB noMySQLÀs deidh dreach an stòr-dàta, chan eil na structaran dàta air an cleachdadhmysql_upgradeòrdugh gus an ùrachadh ùrachadh a chrìochnachadh.
  • Às deidh sin, rè obrachadh stòr-dàta MySQL, faodar teachdaireachdan mearachd a thaisbeanadh.

Fuasgail an rabhadh: mearachd stòr-dàta Tha cunntas colbh mysql.proc ceàrr.

Plugin WordPressRè a 'phròiseas cùl-taic fèin-ghluasadach, thachair a' mhearachd a leanas ▼

Rabhadh: Mearachd san stòr-dàta Tha cunntadh colbh mysql.proc ceàrr

  • mysql.proc Is e seo clàr siostam ann an 5.1 a bhios a’ clàradh fiosrachadh mu mhodhan-obrach no gnìomhan a tha air an stòradh.

Mar a shocraicheas tu an rabhadh: Mearachd stòr-dàta Tha cunntas colbh mysql.proc ceàrr?

Tha na leanasChen Weiliangfuasgladh clàraichte.

第 1 步 :Is e cleachdadh sàbhailte cùl-taic a dhumpadh no fuar an-toiseach:

mysqldump -uroot -p123456 --quick --master-data=1 --all-databases --flush-logs --lock-tables >
  • Feuch an atharraich thu am facal-faire freumha MySQL agad gu h-àrd "123456".

第 2 步 :cleachd na leanasmysql_upgrade àithne fuasgladh

mysql_upgrade -u root --datadir=/var/lib/mysql/ --basedir=/ --password=123456

Is e na leanas am pròiseas obrachaidh taisbeanaidh SSH▼

[root@db lib]# mysql_upgrade -u root -p123456 -hdb --datadir=/var/lib/mysql/ --basedir=/
mysql_upgrade: the '--datadir' option is always ignored
mysql_upgrade: the '--basedir' option is always ignored
Looking for 'mysql' as: mysql
Looking for 'mysqlcheck' as: mysqlcheck
Running 'mysqlcheck' with connection arguments: '--host=db'
Running 'mysqlcheck' with connection arguments: '--host=db'
mysql.columns_priv                                OK
mysql.db                                          OK
mysql.event                                       OK
mysql.func                                        OK
mysql.general_log
Error   : You can't use locks with log tables.
status  : OK
mysql.help_category                               OK
mysql.help_keyword                                OK
mysql.help_relation                               OK
mysql.help_topic                                  OK
mysql.host                                        OK
mysql.ndb_binlog_index                            OK
mysql.plugin                                      OK
mysql.proc                                        OK
mysql.procs_priv                                  OK
mysql.servers                                     OK
mysql.slow_log
Error   : You can't use locks with log tables.
status  : OK
mysql.student                                     OK
mysql.t1                                          OK
mysql.t2                                          OK
mysql.tables_priv                                 OK
mysql.time_zone                                   OK
mysql.time_zone_leap_second                       OK
mysql.time_zone_name                              OK
mysql.time_zone_transition                        OK
mysql.time_zone_transition_type                   OK
mysql.user                                        OK
................................................
test.newuser                                      OK
test.usertag                                      OK
Running 'mysql_fix_privilege_tables'...
WARNING: NULL values of the 'character_set_client' column ('mysql.proc' table) have been updated with a default value (latin1). Please verify if necessary.
WARNING: NULL values of the 'collation_connection' column ('mysql.proc' table) have been updated with a default value (latin1_swedish_ci). Please verify if necessary.
WARNING: NULL values of the 'db_collation' column ('mysql.proc' table) have been updated with default values. Please verify if necessary.
OK
[root@db lib]#

Tha barrachd fhuasglaidhean air duilgheadasan stòr-dàta MySQL gu h-ìosal▼

发表 评论

Cha tèid do sheòladh puist-d fhoillseachadh. 必填 项 已 用 * Label

Rach gu mhullaich