<% dim sql,mysql set sql = server.createobject("adodb.connection") mysql="driver={mysql odbc 3.51 driver};database=库; server=主机;uid=用户;password =密码;" ’option = 设置 sql.open mysql %> |
<% dim sql set sql = server.createobject("adodb.connection") sql.open "dns=MySQL数据源名称" %> |
欢迎光临 DIY编程器网 (http://diybcq.com/) | Powered by Discuz! X3.2 |