码迷,mamicode.com
首页 >  
搜索关键字:tables    ( 4125个结果
创建数据库中的表的操作
1.显示当前数据库中的表 show tables; 2.创建表的操作 create table classes( id int unsigned primary key auto_increment, name varchar(10) not null ); 大致的结构: create table ...
分类:数据库   时间:2020-01-07 15:58:32    阅读次数:137
[转帖]关于PostgreSQL里面的autovacuum服务的性能问题
最近线上Postgresql数据库中其中几台服务器更新时变得非常慢,经过排查和对比,发现时因为autovacuum未启动导致的。 http://www.voidcn.com/article/p-heemtnov-bgy.html 1、使用表pg_stat_all_tables查看autovacuum ...
分类:数据库   时间:2020-01-07 00:55:23    阅读次数:221
计算置信区间
proc freq data=datain; by group; tables var / missprint nowarn binomial(level='1' cl=exact ) alpha=0.05; weight n/zero;(对发生的做置信区间,考虑发生数量为0的情况) ods out ...
分类:其他好文   时间:2020-01-07 00:28:32    阅读次数:143
从零学习MySQL之数据库连接
数据库连接 这里先不慌连接,如果我们忘了数据库root密码该如何操作呢? 忘记数据库密码,如何修改 我的公众号 1、先回想上章我们安装MySQL 配置文件my.cnf 在最后一行添加skip grant tables,如图,目的为启动 MySQL 服务的时候跳过权限表认证 ![(https://mm ...
分类:数据库   时间:2020-01-06 23:00:59    阅读次数:95
linux mysql报错Access denied for user 'root'@'localhost' (using password: YES)
1、service mysqld stop停止mysql服务器 2、find / -name my.cnf 查找mysql配置文件的位置打开 3、在[mysqld]后添加skip-grant-tables 4、启动mysql :service mysqld start ——————————————— ...
分类:数据库   时间:2020-01-06 19:21:04    阅读次数:102
Mariadb 修改root密码及跳过授权方式启动数据库
默认情况下,yum方式新安装的 mariadb 的密码为空,在shell终端直接输入 mysql 就能登陆数据库。 如果是刚安装第一次使用,请使用 mysql_secure_installation 命令初始化。 # mysql_secure_installation NOTE: RUNNING A ...
分类:数据库   时间:2020-01-06 13:09:26    阅读次数:204
AttributeError: 'Table' object has no attribute 'plot'错误
今天在用到camelot爬取pdf的表格时,想选取部分区域进行爬取,就想用plot把pdf画一下,选个坐标。 看了网上的示例,在使用camelot.read_pdf获取当前页面以后调用tables[0].plot('text'),提示AttributeError: 'Table' object ha ...
分类:其他好文   时间:2020-01-06 10:02:19    阅读次数:269
PostgreSQL数据库
常用查询语句 pg_user;pg_roles;pg_class;pg_tables;pg_attribute;pg_type;pg_description; 获取当前DB中所有表信息(包括schemaname、tablename、tableowner等字段) select * from pg_ta ...
分类:数据库   时间:2020-01-06 00:42:39    阅读次数:133
mysql忘记root密码操作
在忘记root密码的时候,可以这样 以windows为例: 1. 关闭正在运行的MySQL服务。 2. 打开DOS窗口,转到mysql\bin目录。 3. 输入mysqld --skip-grant-tables 回车。--skip-grant-tables 的意思是启动MySQL服务的时候跳过权限 ...
分类:数据库   时间:2020-01-05 22:52:16    阅读次数:156
Oracle 和 MySQL 在显示数据库名和表名的区别
Oracle 显示数据库名和表名 Oracle 查看表名: select table_name from user_tables; select table_name from dba_tables; select * from all_all_tables; Oracle 查看数据库名: sele ...
分类:数据库   时间:2020-01-05 20:26:36    阅读次数:105
4125条   上一页 1 ... 35 36 37 38 39 ... 413 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!