问题
I'm using an old version of MySQL (4.0) on an old server and for some reason it has no INFORMATION_SCHEMA database, I don't know if this version of MySQL did not include INFORMATION_SCHEMA or if someone deleted it.
Is there some way to (re)Generate this database?
thanks
# mysql --version
mysql Ver 12.22 Distrib 4.0.18, for suse-linux (x86_64)
回答1:
The INFORMATION_SCHEMA
database was added in MySQL 5.02. It's not possible to create or delete it. It's managed by the server directly. Instead of trying to find a way to work around this, your time would be much better spent upgrading the server if at all possible :)
回答2:
Sorry, you are out of luck. INFORMATION_SCHEMA
was not added until MySQL 5.0.
来源:https://stackoverflow.com/questions/5325773/generate-information-schema-table-for-mysql-database