我进行了如下操作:
1、在数据库A
create table temp like a; 创建表结构
insert into a select * from a where... 插入部分数据2、在数据库B
insert into a select * from A.temp; 将A库临时表中的数据插入B库a表
在mysql命令行中select B.a可以正常查询到结果,php连接到B库后,查询a表,不能查询,直到超时。
不知道原因出在哪里?
1、在数据库A
create table temp like a; 创建表结构
insert into a select * from a where... 插入部分数据2、在数据库B
insert into a select * from A.temp; 将A库临时表中的数据插入B库a表
在mysql命令行中select B.a可以正常查询到结果,php连接到B库后,查询a表,不能查询,直到超时。
不知道原因出在哪里?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货