简体   繁体   中英

Adminer blank GUI elements running on mySQL 8

i am running Adminer 4.8.0 on 2 machines:

my live production server: running mySQL 5.7.28

my local development machine: running mySQL 8.0.23

on the live server everything looks fine. on my local machine all of the engine/collation/row counts are all either blank or have question marks. see attached images:

adminer_mysql5 adminer_mysql8

apologies to @Shadow and others if this was posted in the wrong place, but i did find a solution to this issue:

in the Adminer source, replace this:

$R["Engine"]==($Zf=="pgsql"?"table":"InnoDB")

with this:

$R["Engine"]==(isset($Zf)&&$Zf=="pgsql"?"table":"InnoDB")

details of the issue are here .

looking at the GitHub ChangeLog this appears to be fixed in the next release.

hope this helps others. thanks.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM