用MYSQL,很顺手,看看我的phpMyAdmin 3.0安装过程

       为了配置安装wordpress模板,我给主机购买了 MYSQL,然后我就成了传说中的 WINDOWS+PHP+MYSQL典型主机。

由于转域名,我面临这个一个问题:博文的更改[批量],于是想到了数据库直接更改。现在想想,真是方面。

操作如下:首先要安装,数据库操作软件。phpMyAdmin-3.0.1-all-languages 这个工具是PHP写的~所以要上传到网站后台,最好是在根目录建立个包,比如我自己的 http://zlz.im/MyAdmin [类似这样的] 下面这一步很关键,我就是弄了好一会在弄好呢:

找到上传的 config.sample.inc.php 文件,最好在本地打开,务必用UltraEdit 这个工具打开,记事本就是梦魇,还我错了几次。如果非要用记事本打开,一定记得要另存为— 连接MySQL的用户名和密下面两行。

务必####将“//”注释号删除####

/* User for advanced features */

// $cfg['Servers'][$i]['controluser'] = ‘pma’;

// $cfg['Servers'][$i]['controlpass'] = ‘pmapass’;

然后是服务器账号密码

$cfg['Servers'][$i]['controluser'] = ‘leosn_com’;

$cfg['Servers'][$i]['controlpass'] = ‘*********’;

其他都不要动,然后另存为config.inc.php 也就是说去掉了中间.sample 接着登陆,后面都很简单了,因为是全中文界面提示

PS:这里会遇到一个报错:无法载入 mcrypt 扩展,<br />请检查 PHP 配置 【无视它,没影响的】

版权所有© HzlzH | 本文采用 BY-NC-SA 进行授权
转载需注明 转自: 《用MYSQL,很顺手,看看我的phpMyAdmin 3.0安装过程

随机文章

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

:wink: :twisted: :roll: :oops: :mrgreen: :lol: :idea: :evil: :cry: :arrow: :?: :-| :-x :-o :-P :-D :-? :) :( :!: 8-O 8)