1:测试数据库表usermysql> desc user$$+-------+-------------+------+-----+---------+----------------+| Field | Type | Null | Key | Default | Extra ...
分类:
数据库 时间:
2014-07-07 11:01:18
阅读次数:
222
linux下的文件结构,看看每个文件夹都是干吗用的/bin 二进制可执行命令/dev 设备特殊文件/etc 系统管理和配置文件/etc/rc.d 启动的配置文件和脚本/home 用户主目录的基点,比如用户user的主目录就是/home/user,可以用~user表示/lib 标准程序设计库,又叫动态...
分类:
系统相关 时间:
2014-07-07 11:00:37
阅读次数:
391
《判断用户是否存在,如不存在则新建》user=`grep '^admin:' /etc/passwd`if [ -z "$user" ];thengroupadd adminuseradd -d /home/admin -s /bin/bash -g admin adminecho '123456'...
分类:
系统相关 时间:
2014-07-07 10:10:10
阅读次数:
357
1,MySQL建库语句比较简单,一句话:1 create database tppamltest32,创建用户及授权:1 insert into mysql.user(Host,User,Password,ssl_cipher,x509_issuer,x509_subject) values("lo...
分类:
数据库 时间:
2014-07-07 09:02:47
阅读次数:
295
WebStorm注册码User Name:EMBRACELicense Key:===== LICENSE BEGIN =====24718-1204201000001h6wzKLpfo3gmjJ8xoTPw5mQvYYA8vwka9tH!vibaUKS4FIDIkUfy!!f3C"rQCIRbSh...
分类:
Web程序 时间:
2014-07-03 23:11:40
阅读次数:
297
Default do not need username and password authenticate when access mongoDB ,I want to set up the user name & password for my mongoDB. so that any remo...
分类:
数据库 时间:
2014-07-03 21:02:37
阅读次数:
343
1、修改数据表可能是你的帐号不允许从远程登陆,只能在localhost。这个时候只要在 localhost 的那台电脑,登入MySQL后,更改 “MySQL” 数据库里的 “user” 表里的 “Host” 项,从“localhost”改称“%”,%表示所有机器都允许。mysql> use mysq...
分类:
数据库 时间:
2014-07-03 20:22:03
阅读次数:
244
文章转自:http://www.2cto.com/os/201104/86881.html以下是网上的方法,我用的是第一种方法,经测试有效。方法一:# /etc/init.d/mysql stop# mysqld_safe --user=mysql --skip-grant-tables --ski...
分类:
系统相关 时间:
2014-07-03 20:14:44
阅读次数:
272
函数page_get_cache代码:function page_get_cache($status_only = FALSE) { static $status = FALSE; global $user, $base_root; if ($status_only) { return ...
分类:
其他好文 时间:
2014-07-03 20:04:26
阅读次数:
210
/************************************************************** Problem: 3203 User: wangyucheng Language: C++ Result: Accepted Time:344...
分类:
其他好文 时间:
2014-07-03 18:50:41
阅读次数:
212