I have a database squid
with a table configs
.
I am trying to get the configs table into a different database [testsquid] on the same host
.
Here is what I've tried:
select * into testsquid.configs from squid.configs;
I tried first without creating the configs table in testsquid, and then I actually created the configs
table in testsquid
.
I am trying to get the configs table from squid into the new database testsquid. I decided not to use mysql dump because it locks the table.
What am I doing incorrectly?