简体   繁体   English

phpMyAdmin:日期字段显示为BLOB

[英]phpMyAdmin: Date Fields Display as BLOB

I am running phpMyAdmin version 4.4.4. 我正在运行phpMyAdmin版本4.4.4。 When browsing a table, all of the DATETIME and DATE fields display as [BLOB 19] . 浏览表格时,所有DATETIME和DATE字段显示为[BLOB 19] I clicked on +Options above the table list, selected "Show BLOB contents" and clicked GO, but, all date fields still display as [BLOB 19]. 我点击表格列表上方的+选项,选择“显示BLOB内容”并点击GO,但是,所有日期字段仍显示为[BLOB 19]。

I've tried this on three different Mac browsers -- Safari, Chrome and Firefox -- but none of them will display the actual date, just [BLOB 19]. 我在三种不同的Mac浏览器上试过这个 - Safari,Chrome和Firefox - 但它们都不会显示实际日期,只是[BLOB 19]。

How do I make PMA show the actual date instead of BLOB? 如何让PMA显示实际日期而不是BLOB?

I have since found the solution to this problem. 我已经找到了解决这个问题的方法。 phpMyAdmin was not using the mysqli extension. phpMyAdmin没有使用mysqli扩展。 Once I added the mysqli extension to PHP, all of the date fields started displaying the date instead of BLOB. 一旦我将mysqli扩展添加到PHP,所有日期字段开始显示日期而不是BLOB。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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