当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: 我的简单安装及初级使用。
 

 

 ·关于 crontab    »显示摘要«
    摘要:两个被破折号分开的数目表明了包含的范围。要从星期二到星期五运行 cron 作业,把 2-5 放到 weekday 字段中。 由逗号隔开的数字列表。要在一月第一天和最后一天的运行命令,在日_of_月 字段中可指定 1,31。 * (星号),意味着所有的允许值。要每个小时运行一个作业,在小时字段指定一个星号。......
 ·makefile 初探    »显示摘要«
    摘要:makefile 初探makefile 初探 原文出自:http://www.linuxforum.net 作者:jkl ========================================== makefile 初探 ========================================== linux的内核配......


mysql的安装及使用
上一页   ...

grant select,insert,update,delete on mydb.* to test2@localhost identified by "abc";

【程序编程相关:需求—— 指导我前进

【推荐阅读:uClinux在S3C4510上的启动分

如果你不想test2有密码,可以再打一个命令将密码消掉. 【扩展信息:利用VSFTP配置ftp服务器

grant select,insert,update,delete on mydb.* to test2@localhost identified by "";

[root@proxy bin]# ./mysql -uroot -pmysql

welcome to the mysql monitor. commands end with ; or \g. your mysql

connection id is 23 to server version: 4.0.24-standard type help; or \h for help.

type \c to clear the buffer.

mysql>

1.显示数据库列表.

show databases; 刚开始时才两个数据库:mysql与test.mysql库很重要它里面有mysql的系统信息,我们改密码与新增用户,实际上就是用这个库进行操作.

2.显示库中的数据表:

 show tables;

3.显示数据表的结构: describe 表名; 

4.建库:  create database 库名; 

5.建表: 库名; create table 表名 (字段设定列表);

6.删库与删表: drop database 库名; drop table 表名;

7.将表中记录清空: delete from 表名;

8.显示表中的记录: select * from 表名;


 ·安装imap服务器    »显示摘要«
    摘要:安装imap服务器   几乎所有的发行包都带有imap服务器软件(一般是华盛顿大学版本),最好的办法是用你的发行包安装imap服务器。事实上,我个人觉得imap服务 器很少被使用。下载最常规的imap服务器源码地址是:ftp://ftp.cac.washington.edu/imap/imap.tar.z   tar zxvf imap.tar.z   cd ima......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE