1.在两台mysql上创建用户,设置权限 A上添加: grant replication slave,replication client,reload,super on *.* to 'sync_user'@'192.168.2.220' identified by '123456' wi...
分类:
数据库 时间:
2015-01-21 19:41:10
阅读次数:
219
一、登陆mysql以后执行以下命令: GRANT ALL ON *.* TO username@'%' IDENTIFIED BY 'password' WITH GRANT OPTION; FLUSH PRIVILEGES; 二、修改/etc/mysql/my.cnf,注释以下行: skip-ne...
分类:
数据库 时间:
2015-01-20 15:19:57
阅读次数:
154
在controller类的方法中添加了注解:@ResponseBody
网页抛出错误:
The resource identified by this request is only capable of generating responses with characteristics not acceptable according to the request "accept" he...
分类:
编程语言 时间:
2015-01-16 22:24:32
阅读次数:
215
权限问题,授权 给 root 所有sql 权限mysql> grant all privileges on *.* to root@"%" identified by ".";Query OK, 0 rows affected (0.00 sec)mysql> flush privileges;Qu...
分类:
数据库 时间:
2015-01-09 10:35:58
阅读次数:
155
创建用户:语法:CREATE USER 用户名 IDENTIFIED BY 密码[DEFAULT TABLESPACE 表空间名称][TEMPORARY TABLESPACE 临时表空间表名][QUOTA 数字[K|M] UNLIMITED ON表空间名 QUOTA 数字[K|M] UNLIMI.....
分类:
其他好文 时间:
2015-01-09 06:57:48
阅读次数:
162
连接:mysql -h主机地址 -u用户名 -p用户密码 (注:u与root可以不用加空格,其它也一样)断开:exit (回车)创建授权:grant select on 数据库.* to 用户名@登录主机 identified by \"密码\"修改密码:mysqladmin -u用户名 -p旧密码...
分类:
数据库 时间:
2015-01-08 19:25:41
阅读次数:
222
增加新用户格式:grant 权限 on 数据库.* to 用户名@登录主机 identified by "密码"如,增加一个用户user1密码为password1,让其可以在本机上登录, 并对所有数据库有查询、插入、修改、删除的权限。首先用以root用户连入mysql,然后键入以下命令:grant ...
分类:
数据库 时间:
2015-01-05 16:37:23
阅读次数:
123
一下转自http://www.cnblogs.com/yjhrem/articles/2340149.html运行cmd命令行 录入 sqlplus /nolog 无用户名登录 conn /as sysdba 连接到数据本地数据alter user system identified by pass...
分类:
数据库 时间:
2015-01-05 12:44:29
阅读次数:
188
目的:定时dump mysql数据库,只保留最近5天的备份操作步骤:1、新建一个专用于备份的用户test 密码test123;>grant select,show view,trigger,alter on *.* to test@'localhost' identified by 'test123...
分类:
数据库 时间:
2015-01-04 21:09:17
阅读次数:
226
CRM2013部署完ADFS后通过url在浏览器中訪问測试是否成功,成功进入登陆界面但在登陆界面输入username和password后始终报身份验证失败,系统中的报错信息例如以下:Microsoft.IdentityServer.AuthenticationFailedException: MSI...
分类:
其他好文 时间:
2015-01-04 11:03:29
阅读次数:
166