I roto i te meka, ki te whakamahi koephpMyAdmin, kaore koe e kite i te hapa kei hea te raru?
- Ko te raruraru na te mea kua whakahoutia e koe a MariaDB raneipātengi raraunga MySQLputanga
- Whakapai MariaDB raneiMySQLI muri i te putanga papaarangi, kaore e whakamahia nga hanganga raraunga
mysql_upgradewhakahau ki te whakaoti i te whakahou whakahou. - Muri iho, i te wa e whakahaerehia ana te papaaarangi MySQL, ka whakaatuhia nga karere hapa.

mono WordPressI roto i te tukanga tārua aunoa, i puta te hapa e whai ake nei ▼
Whakatupato: Hapa Raraunga Raraunga He he te tatau tiwae o mysql.proc. Ko te tumanako 21, kua kitea 20. I hangaia me MariaDB 50560, kei te whakahaere 100406 inaianei. Tena koa whakamahi mysql_upgrade ki te whakatika i tenei hapa Uiui SHOW FUNCTION STATUS
- mysql.proc He ripanga punaha tenei i roto i te 5.1 e tuhi ana i nga korero e pa ana ki nga tikanga rongoa me nga mahi.
Me pehea te whakatika i te whakatupato: Hapa Raraunga Raraunga Kei te he te tatau o te pou o mysql.proc?
Ko te mea e whai ake neiKo Chen Weiliangotinga kua tuhia.
taahiraa 1:Ko te mahi haumaru ko te maka, te whakamatao ranei i te tuatahi:
mysqldump -uroot -p123456 --quick --master-data=1 --all-databases --flush-logs --lock-tables >- Tena koa hurihia te "123456" i runga ake nei ki to kupuhipa pakiaka MySQL.
taahiraa 2:whakamahia enei e whai ake neimysql_upgrade whakahau ki te whakatau
mysql_upgrade -u root --datadir=/var/lib/mysql/ --basedir=/ --password=123456
E whai ake nei te tukanga mahi whakaatu 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]#
He maha atu nga otinga mo nga raru papaa raraunga MySQL kei raro nei▼
Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) shared "Te Whakatupato Whakatupato: Kei te he te tatau o te Tiwae Hapa Raraunga Raraunga o mysql.proc.", he awhina ki a koe.
Nau mai ki te tohatoha i te hono o tenei tuhinga:https://www.chenweiliang.com/cwl-1096.html
Hei whakatuwhera i etahi atu tinihanga huna🔑, nau mai ki te uru mai ki ta maatau hongere Telegram!
Tohaina me te pai ki te pai koe! Ko o tohatoha me o hiahia ko to matou hihiri tonu!
