主要方法就是修改 MySQL按照文件下面的my.cnf文件
首先是找到my.cnf文件,
# find / -name “my.cnf”
# cd /etc
接下来最好是先备份my.cnf文件,对于初手而言
#/etc vi my.cnf
之后找到[mysqld]的段,在那段中插入一行:
skip-grant-tables
这句的作用是让你...
分类:
数据库 时间:
2015-07-21 12:57:27
阅读次数:
182
使用plsql dev的朋友多遇到过类此如下面的提示:Dynamic Performance Tables not accessible, Automatic Statistics Disabled for this session You can disable statistics in the...
分类:
数据库 时间:
2015-07-20 23:22:38
阅读次数:
267
482.USER_DATA is a nonencrypted tablespace that contains a set of tables with data. You want to
convert all existing data in the USER_DATA tablespace and the new data into the encrypted format.
Whic...
分类:
其他好文 时间:
2015-07-20 19:32:25
阅读次数:
82
java如何将一组对象传入Oracle存储过程,例子如下:
CREATE OR REPLACE TYPE TEST_OBJECT AS OBJECT
(
id number,
name varchar2(32)
);
CREATE OR REPLACE TYPE TABLES_ARRAY AS VARRAY(100) OF TEST_OBJECT;
drop table test pu...
分类:
数据库 时间:
2015-07-20 16:34:35
阅读次数:
138
The row source tree is the core of the execution plan. The tree shows the following information: An ordering of the tables referenced by the statem...
分类:
其他好文 时间:
2015-07-20 10:34:38
阅读次数:
104
在centos7下忘记了Mairadb的密码
如下图所示
用vi编辑器或者nano
centos7好像没有自带nano用 yum -y install nano来安装
之后打开
nano /etc/my.cnf
添加如下图所示
skip-grant-tables之后保存退出
systemctl restart mariadb.service
重启服务
重新设置...
分类:
数据库 时间:
2015-07-19 16:35:23
阅读次数:
203
=============================以下是最小生成树+并查集======================================【HDU】1213 How Many Tables基础并查集★1272 小希的迷宫基础并查集★1325&&poj1308 Is It A Tr...
分类:
其他好文 时间:
2015-07-19 16:24:28
阅读次数:
139
1.FLUSH TABLES WITH READ LOCK这个命令是全局读锁定,执行了命令之后所有库所有表都被锁定只读。一般都是用在数据库联机备份,这个时候数据库的写操作将被阻塞,读操作顺利进行。解锁的语句也是unlock tables。2.LOCK TABLEStbl_name[ASalias] ...
分类:
其他好文 时间:
2015-07-19 16:16:04
阅读次数:
132
=============================以下是最小生成树+并查集======================================【HDU】1213 How Many Tables基础并查集★1272 小希的迷宫基础并查集★1325&&poj1308 Is It A Tr...
分类:
其他好文 时间:
2015-07-19 14:52:08
阅读次数:
117
Centos系统mysql 忘记root用户的密码: 第一步:(停掉正在运行的mysql)[root@maomao ~]#/etc/init.d/mysqldstopStoppingMySQL:[ OK ]第二步:使用 “--skip-grant-tables”参数重新启动mysql[root@.....
分类:
数据库 时间:
2015-07-17 18:03:42
阅读次数:
165