Eins, as jo phpMyAdmin brûke , sille jo net kinne fine wêr't de flater sit.
- It probleem is om't jo MariaDB ofMySQL databankferzje.
- Upgrade MariaDB ofMySQLNei de databankferzje wurde de gegevensstruktueren net brûkt
mysql_upgradekommando om de upgrade-update te foltôgjen. - Neitiid, tidens it wurk fan 'e MySQL-database, kinne flaterberjochten werjûn wurde.

De WordPress-plugin kaam de folgjende flater tsjin tidens it automatyske reservekopyproses: ▼
Warskôging: Databankflater Kolomtelling fan mysql.proc is ferkeard. Ferwachte 21, fûn 20. Oanmakke mei MariaDB 50560, rint no 100406. Brûk mysql_upgrade om dizze flater te reparearjen Query SHOW FUNCTION STATUS
- mysql.proc Dit is in systeemtabel yn 5.1 dy't ynformaasje registrearret oer bewarre prosedueres of funksjes.
Hoe kinne jo de warskôging reparearje: Databankflater Kolomtelling fan mysql.proc is ferkeard?
It folgjende is in oplossing opnommen troch Chen Weiliang .
Stap 1: De feilichste oanpak is om earst in dump of kâlde reservekopy út te fieren:
mysqldump -uroot -p123456 --quick --master-data=1 --all-databases --flush-logs --lock-tables >- Feroarje asjebleaft it boppesteande "123456" yn jo MySQL-rootwachtwurd.
第 2 步:brûk de folgjendemysql_upgrade opdracht om op te lossen
mysql_upgrade -u root --datadir=/var/lib/mysql/ --basedir=/ --password=123456
It folgjende is it proses fan SSH-demonstraasje▼
[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]#
D'r binne mear oplossingen foar MySQL-databaseproblemen hjirûnder▼
Hopelik sil it artikel "Solving the warning: Database error Column count of mysql.proc is wrong" dield op ' e blog fan Chen Weiliang ( https://www.chenweiliang.com/ ) jo nuttich wêze.
Fiel jo frij om de keppeling fan dit artikel te dielen: https://www.chenweiliang.com/cwl-1096.html

