在某些表( myisam或innodb)中,我得到了以下错误:
CODE: SELECT ALL
Warning in ./libraries/classes/InsertEdit.php#1765
implode(): Invalid arguments passed
Backtrace
InsertEdit.php#1765: implode(
string ',',
string 'pro_doct',
)
ReplaceController.php#312: PhpMyAdmin\InsertEdit->getCurrentValueForDifferentTypes(
boolean false,
string '2ab6240bef8140b28277f912b86342bf',
array,
string '\'\'',
array,
integer 0,
array,
array,
array,
boolean false,
boolean true,
string '`bibliografie`.`ID` = 2',
string 'bibliografie',
array,
)
Routing.php#192: PhpMyAdmin\Controllers\Table\ReplaceController->__invoke(
,
array,
)
index.php#43: PhpMyAdmin\Routing::callControllerForRoute(
,
string '/table/replace',
,
,
)在phpmyadmin中,我不能像以前一样将表从(本地)数据库复制到另一个(本地)数据库。现在我只能导出/导入(没有错误消息)。
我在Linux上使用xampp。
服务器:通过UNIX套接字的本地主机
Tipo服务器: MariaDB
连接服务器: SSL inattivo Documentazione
Versione del服务器: 10.4.17-MariaDB -源分布
Versione protocollo: 10
Utente: root@localhost
Codifica caratteri del server: cp1252西欧(latin1)
Web服务器: Apache/2.4.46 (Unix) OpenSSL/1.1.1i PHP/7.4.14 mod_perl/2.0.11 Perl/v5.32.0
Versione del client del数据库: libmysql - mysqlnd 7.4.14
Estensione : mysqli
Versione PHP: 7.4.14
编辑
我注意到现在我不能再创建视图了:“创建视图”链接不再工作了。
编辑
我的问题是:如何使用控制台来检查存在什么样的问题,以及如何解决它?
发布于 2022-05-24 17:41:12
学习使用"mysql“CLI。
将数据从一个表复制到另一个表(假设模式定义是兼容的):
INSERT INTO db2.t2 SELECT * FROM db1.t1;景色已经存在了很长时间了。您使用的是什么版本的MySQL?
CREATE VIEW foo(a INT, b VARCHAR(22))
AS SELECT ...;(还有其他选项;请参见https://dev.mysql.com/doc/refman/8.0/en/create-view.html。)
注意: MySQL视图是语法上的糖,不要期望任何性能上的好处。
SQL问题在stackoverflow.com中处理得更好。
dba.stackexchange.com更好地处理DBA问题。
https://serverfault.com/questions/1101667
复制相似问题