易截截图软件、单文件、免安装、纯绿色、仅160KB

Mysql5.1 for PHP

准备:下载Mysql5.1<mysql-essential-5.1.41-win32.msi>
安装:step by step
测试:1.MySQL测试
点开MySQL Command Line Client, 输入安装时建立的密码。
mysql>show databases;
mysql>use <<database name>>;
mysql>show tables;
mysql>select * from <<table name>>;
         2.PHP测试
建立php测试页db.php
<?php
mysql_connect('localhost','<<user name>>','<<password>>') or die(mysql_error());
mysql_select_db("<<database name>>");
$query='select now()';
$conn=mysql_query($query) or die (mysql_error());
echo "QUERY: $query<br>";
$res=mysql_fetch_array($conn);
echo $res[0];
?>


相关文档:

MYSQL 备忘录

MySQL client programs:
mysql
The command-line tool for interactively entering SQL statements or executing them from a file in batch mode. See Section 4.5.1, “mysql — The MySQL Command-Line Tool”.
mysqladmin
A client that performs administrative operations, such as crea ......

MySql创建函数

首先需要查看一下创建函数的功能是否开启:
X:\proper\mysql\bin>mysql -h localhost -u root -p
Enter password: **********
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 12 to server version: 5.0.22-community-nt-log
Type 'help;' or '\h' for help. Type ' ......

用mysql作openldap的后台数据库

etting up OpenLDAP with MySQL backend
用mysql作后台数据库安装openldap
author: TBONIUS
OpenLDAP is an X.500 Lightweight Directory Access Server used for
centralized authentication and directory lookups. ......

tomcat6+mysql连接池的简单实现(亲自试验通过)

在网上找了很久,文章都是你抄、我抄你。看来看去都一样的,google往后翻N页  进去一看都是一样的。郁闷至极。 于上是CSDN论坛求助,还是java\web坛子里的朋友热情些,终于算是搞好了,自己再试了下,把心得发出来大家指点指点。 1、mysql-connector-java-5.0.8-bin.jar文件,也就是mysql驱动包。注意:要放到tomcat ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号