警告在./libraries/dbi/DBIMysqli.class.php#261

时间:2017-07-25 01:37:09

标签: phpmyadmin

安装新的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,但同样的问题。 此服务器是新安装的服务器。谢谢。

1 个答案:

答案 0 :(得分:0)

这就是我为我解决的问题。

  1. 探索xampp/phpMyAdmin/
  2. 在文本编辑器中打开config.sample.inc.php
  3. 取消注释所有存储数据库和表: $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';$cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';

  4. 然后重启服务器。

  5. 我希望它也能帮助你。干杯!