Generate INFORMATION_SCHEMA table for MySQL database

柔情痞子 提交于 2019-12-24 04:23:18

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!