你可以通过在 mysql 命令行客户端执行简单的 SQL 查询来获取 MySQL 的版本信息。以下是获取 MySQL 版本的常见方php法:
I would like to create a preferences window like in the standard Mac OS X apps (Safari etc.).I have found r开发者_运维问答esources like DBPrefsWindowController from back in 2008 that matches the Apple