以下来自 java 的查询导致异常,指出未找到 virtual_interfaces.instance_uuid 列。
查询字符串为:
select instances.id,
instances.deleted,
instances.project_id,
instances.hostname,
instances.vm_state,
instances.updated_at,
instances.uuid,
instances.task_state,
virtual_interfaces.id,
virtual_interfaces.network_id,
virtual_interfaces.address,
virtual_interfaces.instance_uuid,
networks.id,
networks.bridge,
networks.cidr,
networks.vlan,
fixed_ips.address,
fixed_ips.network_id,
fixed_ips.instance_uuid
from instances,
virtual_interfaces,
networks,
fixed_ips
where instances.uuid=fixed_ips.instance_uuid and
virtual_interfaces.network_id=networks.id and
fixed_ips.instance_uuid=virtual_interfaces.instance_uuid;
如果从 mysql cli 执行相同的查询字符串。
很感谢任何形式的帮助。