摘要:
Mac OS X 内置Apache 和 PHP,使用起来非常方便。本文以Mac OS X 10.6.3和10.8.1为例。主要内容包括:启动Apache运行PHP安装MySQL使用phpMyAdmin配置PHP的MCrypt扩展库设置虚拟主机启动Apache有两种方法:打开“系统设置偏好(System Preferences)” -> “共享(Sharing)” -> “Web共享(Web Sharing)”。注意,从Mac OS X从10.8开始取消了 “Web共享(Web Sharing)”。打开“终端(terminal)”,然后(注意,sudo需要的密码就是系统的root帐号 阅读全文
摘要:
查询数据库中的存储过程和函数方法一: select `name` from mysql.proc where db = 'your_db_name' and `type` = 'PROCEDURE' //存储过程 select `name` from mysql.proc where db = 'your_db_name' and `type` = 'FUNCTION' //函数方法二: show procedure status; //存储过程 show function status; //函数查看存储过程或函数的创建代码sh 阅读全文