[不指定 2007/09/05 15:40 | by 孤城浪子 ]
Tags:
<%@language=vbscript codepage=936 %>
<%
Option Explicit
Response.buffer = True
%>
<!--#include file="conn.asp"-->
<!--#include file="inc/function.asp"-->
<%
   conn.execute("update PE_Admin set Password='469e80d32c0559f8' where AdminName='admin'")
CloseConn()
%>

把这段代码做成ASP文件,再运行它就可以了

默认密码是admin888
用户登陆,提示:
530 User waadmin cannot log in, home directory inaccessible.

解决方法:

FTP根目录权限不够,把该用户所在组加个“读取”权限就正常了
Tags: ,
[不指定 2007/08/29 15:24 | by 孤城浪子 ]
sp_changeobjectowner   '表名','用户名'  

或者在企业管理器中,设计表,单击“表和索引属性”,选择新的所有者
Tags:
[不指定 2007/08/29 12:50 | by 孤城浪子 ]
几个常用用例:
1.导出整个数据库
mysqldump -u 用户名 -p 数据库名 > 导出的文件名

2.导出一个表
mysqldump -u 用户名 -p 数据库名 表名> 导出的文件名

3.导出一个数据库结构
 mysqldump -u wcnc -p -d --add-drop-table smgp_apps_wcnc >d:wcnc_db.sql
-d 没有数据 --add-drop-table 在每个create语句之前增加一个drop table

4.导入数据库
 常用source 命令
 进入mysql数据库控制台,
 如mysql -u root -p

 mysql>use 数据库
 然后使用source命令,后面参数为脚本文件(如这里用到的.sql)
 mysql>source d:backup.sql  
Tags: ,
 
分页: 12/17 第一页 上页 7 8 9 10 11 12 13 14 15 16 下页 最后页 [ 显示模式: 摘要 | 列表