logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

偶遇mysql_install_db初始化失败

os version: Red Hat Enterprise Linux Server release 6.5 (Santiago)mysql version: mysql5.6.34-log安装方式:源码安装场景:最近在初始化mysql的多实例过程种,突然遇到如下问题,初始化过程如下,在设定basedir和datadir参数后,进行数据库实例初始化时,就一直hang住了,如下,做

gpstop failed. (Reason='int() argument must be a string or a number, not 'NoneType'') exiting...

OS Version: CentOS Linux release 7.2.1511 (Core) greenplum version: 4.3.8问题:在初始化过程中遇到如下错误,并且master上的postgres进行已经启动,segment上的所有进程都没有启动。20170817:15:55:11:009635 gpstop:mdw:gpadmin-[INFO]:-

greenplum通过hdfs访问外部表

环境信息:os: CentOS Linux release 7.2.1511 (Core) greenplum version: 4.3.16搭建过程:1. 安装greenplum环境信息: dbid | content | role | preferred_role | mode | status | port  | hostname | address | replicat

mysql数据库字段加密

linux version: Centos7.3 Mysql vrsion: mysql5.6.34参考文档:http://blog.csdn.net/babyfish13/article/details/51150339最近两天,接到业务上一个需求,需要对表中的部分字段(比如手机号,email)进行加密,在查看mysql的相关资料后,发现需要对数据库中的部分字段加密,基本就只能从业务

pandas中的drop_duplicates和duplicated的应用

在pandas中,duplicated和drop_duplicates函数用来对DateFrame来进行去重。默认情况下,drop_duplicates只保留第一次出现的组合 ,如果需要保留最后一次出现的组合,需要使用keep='last'参数。#!/usr/bin/python# -*- coding: UTF-8 -*-import pandas as pdfrom pan...

mysql5.6安装 mysql.slave_master_info表不存在的解决方法

1.在安装mysql 5.6.15时,安装完成后,后台日志报如下警告信息:2014-01-08 13:47:34 22946 [Warning] InnoDB: Cannot open table mysql/slave_master_info from the internal data dictionary of InnoDB though the .frm file for the ta

#sql
linux中密码过期如何解决

问题:Authentication token is no longer valid; new one requiredYou (mysql) are not allowed to access to (crontab) because of pam configuration.解决:一、检查crond权限。1、cat /etc/corn.deny,文件是空的。

可以导致Got timeout reading communication packets错误的原因

https://dev.mysql.com/doc/refman/5.5/en/communication-errors.html可能导致Got Timeout reading communication packets错误的原因有如下几个:A client attempts to access a database but has no privileges fo

使用scp传输时速度特别慢的问题

场景:在生产环境中,新安装的服务器,第一次使用scp传输文件时,速度大约在10MB左右,传输文件在同一个网段,正常应该在100MB左右。mysql@localhost ~]$ sudoethtool em1Settings for em1:        Supportedports: [ TP ]        Supportedlink modes: 

到底了