Reputation: 67938
I am moving all my websites to one server, and I was wondering if it is okay to leave out the information_schema because I have multiple different ones from different servers.
Upvotes: 6
Views: 3262
Reputation: 21155
Yes. In fact, the mysqldump
tool often used for backing up databases ignores INFORMATION_SCHEMA.
When you restore the database on the new server, MySQL will update the INFORMATION_SCHEMA
on that server.
Upvotes: 0
Reputation: 92792
information_schema
is a virtual db used for querying database metadata.
You don't have to move it, the data there are generated automatically from your other databases.
Upvotes: 4
Reputation: 11660
if you dump your tables structure and data (export in phpmyadmin) you can easylie import that data in an other mysqldb. and u don't need the information_shema for it.
be sure to have same encoding and mysql versions.
Upvotes: 0