站长百科 | 数字化技能提升教程 数字化时代生存宝典
首页
数字化百科
电子书
▼
建站程序
开发
服务器
办公软件
开发教程
▼
服务器教程
软件使用教程
运营教程
热门电子书
▼
CSS教程
WordPress教程
导航
程序频道
推广频道
网赚频道
人物频道
网站程序
网页制作
云计算
服务器
CMS
论坛
网店
虚拟主机
cPanel
网址导航
WIKI使用导航
WIKI首页
热点词条
最新资讯
网站程序
站长人物
页面分类
使用帮助
编辑测试
创建条目
网站地图
站长百科导航
站长百科
主机侦探
IDCtalk云说
跨境电商导航
WordPress啦
站长专题
网站推广
网站程序
网站赚钱
虚拟主机
cPanel
网址导航专题
云计算
微博营销
虚拟主机管理系统
开放平台
WIKI程序与应用
美国十大主机
编辑“
WordPress:Answers-Installation
”(章节)
人物百科
|
营销百科
|
网赚百科
|
站长工具
|
网站程序
|
域名主机
|
互联网公司
|
分类索引
跳转至:
导航
、
搜索
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
== 上传路径 == When you specified the upload path, you used backslashes. 规定了俄上传路径,你使用反斜线符号。 Use forward slashes "/" to specify the directory. 使用顺斜线符号"/"规定目录。 <!-- == Reset Password == <!-- == 重新设置密码 == {{merge-section-into|[[WordPress:Resetting your password]]}} {{将部分合并到|[[WordPress:Resetting your password|重新设置你的密码]]}} Passwords for WordPress users are stored in an encrypted format called MD5. This is a relatively common security technique that prevents a hacker from obtaining a list of passwords even if they obtain direct access to the database tables. MD5 is a one-way hashing procedure, meaning that it verges on the impossible to restore an encrypted password to its original form. WordPress用户的密码储存在已加密的称为MD5的格式中。这是相对普通的安全方法,黑色技术直接地访问数据库表格,这种方法也能够阻止黑客得到密码列表。Md5是单行的hashing过程,意思是几乎不能以最初的格式重新储存已加密的密码。 Because WordPress uses MD5 to encrypt passwords in the database, a password must be encrypted ''before'' it is inserted in the database. The MySQL database provides tools for this purpose, and there are many tools available online to create MD5 hashes from passwords. 因为WordPress使用MD5加密数据库中的密码,密码在插入数据库''之前'',必须加密。MySQL提供工具执行这个操作,有许多在线工具可以用来从密码中创建MD5 hashes。 Visit this [http://bfl.rctek.com/tools/?tool=hasher MD5 Hasher] to get an MD5 hash of a password instantly, or if you know the Python language, [http://www.python.org/cgi-bin/moinmoin/Md5Passwords use this Python code]. 请访问这个[http://bfl.rctek.com/tools/?tool=hasher MD5 Hasher]立马得到密码的MD5 hash,或者如果你懂得Python语,[http://www.python.org/cgi-bin/moinmoin/Md5Passwords 请使用这个Python代码]。 '''For phpMyAdmin''' '''关于 phpMyAdmin''' If you have [[WordPress:phpMyAdmin]] access on your server, you can do the following to reset your admin password manually in case you need to : 如果你能够使用[[WordPress:phpMyAdmin|phpMyAdmin]]访问你的服务器,你可以执行以下的操作,如果需要的话,动手重新设置你的管理密码: # Open phpMyadmin and be sure that your WordPress database is selected. #打开phpMyadmin并且确定已经选择了你的WordPress数据库。 # Click on the users table in the left menu (it could be wp_users, or ''yourprefix_''users) #点击左边菜单中的用户表格(可能是wp_users, 或者 ''yourprefix_''用户) # Click "Browse" at the top of the right frame. #在右边框架的顶上方点击"浏览"。 # Click on the edit button next to the admin user. #点击管理用户旁边的编辑按钮。 # Replace whatever is in the user_pass field with your new password or MD5 hash. #将user_pass栏中的内容替换为你的新密码或者MD5 hash。 # If your password is not already encrypted, select “MD5â€? from the dropdown in the Function column for the user_pass field. (phpMyAdmin will encrypt your password in MD5 if this is set) #如果你的密码还没有加密,从user_pass栏中的函数栏中的下拉列表上选择“MD5â€?。(phpMyAdmin会以MD5的形式给你的密码加密) # Save the info in the database by clicking "Go" at the bottom of the form. #通过点击表格底部的"Go"(运行)按钮,将信息保存到数据库中。 # Login to Wordpress using “adminâ€? and the password you used to create the hash. #使用“adminâ€?登录到Wordpress,你使用的密码创建了hash。 '''For command line MySQL''' '''关于命令行MySQL''' You might have direct access to your MySQL database from the command line. Usually this is done by sitting at your server, connecting directly to your server via SSH, or using the MySQL client on your workstation to connect to your server. You must be in the correct context to successfully execute the ''mysql'' command mentioned below. 你可能能够从命令行中直接访问你的MySQL数据库。通过坐在你的服务器旁边,通过SSH直接连接到你的服务器,或者在你的工作台上使用MySQL client连接到你的服务器。你必须在合适的语境中,成功地执行下面提到的''mysql''命令。 To reset your WordPress password from the MySQL command line, do the following (replace the options in italics with your settings): 要从MySQL命令行中重新设置你的WordPress密码,请执行以下的操作(使用你的设置替换斜体字的选项): # "mysql -u root -p" (Logs in to MySQL) # "mysql -u root -p"(登录到MySQL) # Enter your password at the prompt. #即时输入你的密码。 # "use <i>name-of-database</i>" (Selects your WordPress database) # "use <i>name-of-database</i>"(选择你的WordPress数据库) # "show tables LIKE '%users';" (Finds the WordPress user table) # "show tables LIKE '%users';"(找到WordPress用户表格) # "SELECT ID, user_login, user_pass FROM <i>name-of-table-you-found</i> WHERE user_login = '<i>username</i>';" (Observe the encrypted password) # "SELECT ID, user_login, user_pass FROM <i>name-of-table-you-found</i> WHERE user_login = '<i>username</i>';" (观察已加密的密码) # "UPDATE <i>name-of-table-you-found</i> SET user_pass=MD5('<i>new-unencrypted-password</i>') WHERE user_login = '<i>username</i>';" (Updates the database with the encrypted password) # "UPDATE <i>name-of-table-you-found</i> SET user_pass=MD5('<i>new-unencrypted-password</i>') WHERE user_login = '<i>username</i>';" (使用已加密的密码更新数据库) # "SELECT ID, user_login, user_pass FROM <i>name-of-table-you-found</i> WHERE user_login = '<i>username</i>';" (Confirm that it was changed) # "SELECT ID, user_login, user_pass FROM <i>name-of-table-you-found</i> WHERE user_login = '<i>username</i>';" (确定已更改) # "exit" (Exits the MySQL client) # "exit" (退出 MySQL client) # Login to WordPress using the username and password that you've altered. --> #使用你已经更改的用户名和密码登录到WordPress。 -->
摘要:
请注意,您对站长百科的所有贡献都可能被其他贡献者编辑,修改或删除。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源(参阅
Wordpress-mediawiki:版权
的细节)。
未经许可,请勿提交受版权保护的作品!
取消
编辑帮助
(在新窗口中打开)