本文主要介绍怎样使用putty连接远程数据库.
#1.在主机地址一栏填写项目的域名即可.
#2.点击'打开',login as:root,回车.
#3.敲入命令:#mysql -uroot -p 回车
密码如果没有,可以直接回车.具体如下图:
#4.接下来主要就是mysql数据库的操作命令了:show databases;显示当前所有的数据库.
#5.选择你所需要的数据库,比如数据库名叫做:Test
use Test;
#6.show tables;
下面就不一一和大家做介绍了,对于表的增、删、改、查,应该是比较基本的操作.
如果不熟悉的可以参照博文:http://www.cnblogs.com/nokiaguy/archive/2008/06/01/1211701.html进行一个简单的学习.
2011.11.23.pm
jack.li
QQ:523072842
Email:523072842@qq.com
There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.