安装新的ubuntu服务器后出错了。 该错误位于phpmyadmin。完整错误如下:
Warning in ./libraries/dbi/DBIMysqli.class.php#261
mysqli_query(): (22003/1690): BIGINT UNSIGNED value is out of range in '(unix_timestamp() - 18446744073709550663)'
Backtrace
./libraries/dbi/DBIMysqli.class.php#261: mysqli_query(
object,
string 'SELECT UNIX_TIMESTAMP() - 18446744073709550663',
integer 0,
)
./libraries/DatabaseInterface.class.php#244: PMA_DBI_Mysqli->realQuery(
string 'SELECT UNIX_TIMESTAMP() - 18446744073709550663',
object,
integer 1,
)
./libraries/DatabaseInterface.class.php#1887: PMA_DatabaseInterface-
>tryQuery(
string 'SELECT UNIX_TIMESTAMP() - 18446744073709550663',
object,
integer 1,
boolean false,
)
./libraries/server_status.lib.php#53: PMA_DatabaseInterface-
>fetchValue(string 'SELECT UNIX_TIMESTAMP() - 18446744073709550663')
./libraries/server_status.lib.php#25:
PMA_getHtmlForServerStateGeneralInfo(object)
./server_status.php#35: PMA_getHtmlForServerStatus(object)
所有更新都已下载但我仍然收到此错误。我尝试重新安装phpmyadmin,但同样的问题。 此服务器是新安装的服务器。谢谢。
答案 0 :(得分:0)
这就是我为我解决的问题。
xampp/phpMyAdmin/
config.sample.inc.php
取消注释所有存储数据库和表:
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
至
$cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';
然后重启服务器。
我希望它也能帮助你。干杯!