【发布时间】:2016-03-27 14:45:23
【问题描述】:
我有一个数据库 squid 和一个表 configs。
我正在尝试获取配置表into a different database [testsquid] on the same host。
这是我尝试过的:
select * into testsquid.configs from squid.configs;
我首先尝试在testquid中不创建configs表,然后我实际上在testsquid中创建了configs表。
我正在尝试将配置表从 squid 获取到新的数据库 testquid。我决定不使用 mysql dump 因为它会锁定表。
我做错了什么?
【问题讨论】:
标签: mysql select select-into