易截截图软件、单文件、免安装、纯绿色、仅160KB

MySQL phpMyAdmin 安装

首先安装phpMyadmin
[root@aladdin phpMyAdmin]# uname -a
Linux aladdin.leadtek.com.cn 2.6.32.11-99.fc12.i686.PAE #1 SMP Mon Apr 5 16:15:03 EDT 2010 i686 i686 i386 GNU/Linux
[root@aladdin phpMyAdmin]# yum info phpmyadmin
Loaded plugins: presto, refresh-packagekit
Installed Packages
Name       : phpMyAdmin
Arch       : noarch
Version    : 3.2.5
Release    : 1.fc12
Size       : 11 M
Repo       : installed
from repo  : updates
Summary    : Web based MySQL browser written in php
URL        : http://www.phpmyadmin.net/
License    : GPLv2+
Description: phpMyAdmin is a tool written in PHP intended to handle the
           : administration of MySQL over the Web. Currently it can create and
           : drop databases, create/drop/alter tables, delete/edit/add fields,
           : execute any SQL statement, manage keys on fields, manage
           : privileges,export data into various formats and is available in 50
           : languages
安装完成后访问 http://localhost/phpMyAdmin, 需要http认证, 故需要修改配置文件.
修改配置文件, 参考 http://www.phpmyadmin.net/documentation/#config
在/etc/phpMyAdmin/中
# cd /etc/phpMyAdmin
# mkdir config # create directory for saving
# chmod o+rw config # give it world writable permissions
# cp config.inc.php config/ # copy current configuration for editing
# chmod o+w config/config.inc.php # give it world writable permissions
使用浏览器访问 http://localhost/phpMyAdmin/setup
选择Connect without passwo


相关文档:

MySQL常用语句

/*查询数据库*/
show databases;
/*创建数据库*/
create database dengheping;
/*使用数据库*/
use dengheping;
/*创建表*/
create table user(id int primary key auto_increment,name char(255));
/*查询表*/
show tables;
/*显示表结构*/
desc user;
/*插入字段*/
alter table user add password varchar(6 ......

Mysql 关键字 保留字

Mysql 关键字-保留字
在powerdesigner设计的时候用了关键字,生成出错,很囧。。。
 
 
 
 
 
ADD
ALL
ALTER
ANALYZE
AND
AS
ASC
ASENSITIVE
BEFORE
BETWEEN
BIGINT
BINARY
BLOB
BOTH
BY
CALL
CASCADE
CASE
CHANGE
CHAR
CHARACTER
CHECK
COLLATE
COLUMN
CON ......

mysql 命令使用

mysql 命令学习:
1. mysql -uroot  ;
2.mysql -h ip -ubusiusr -pbusiusr newdrmdb;
3.show databases ;                 //显示所有的数据库 ;
4.show tables ;           ......

mysql的grant命令

关键字: mysql grant
本文实例,运行于 MySQL 5.0 及以上版本。
MySQL 赋予用户权限命令的简单格式可概括为:
grant 权限 on 数据库对象 to 用户
一、grant 普通数据用户,查询、插入、更新、删除 数据库中所有表数据的权利。
grant select on testdb.* to common_user@'%'
grant insert on testdb.* to common_user ......

phpmyadmin中MySQL如何加密(配置)

转自http://blog.csdn.net/ytz_linuxer/archive/2009/07/04/4321259.aspx
以版本phpMyAdmin-2.6.1.tar.gz为例
      先解压phpMyAdmin-2.6.1.tar.gz到/usr/local/apache2/htdocs,
得到文件夹phpMyAdmin-2.6.1,将其重命名为phpmyadmin,(这样在以后的操作中将会变的简便)。
    ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号