python连接mysql操作(1) import pymysql import pymysql.cursors # 连接数据库 connect = pymysql.Connect( host='10.10.146.28', port=3306, user='admin_m', passwd='fc ...
分类:
数据库 时间:
2019-11-06 16:47:15
阅读次数:
81
前提条件 次操作在FC平台已经添加vlan的基础上进行 操作步骤 在FC平台,通过VNC进入虚拟机,将IP地址和网关修改为要更换的地址 1. vim /etc/sysconfig/network scrips/ifcfg eth0 // 修改IP和网关 2. service network rest ...
分类:
其他好文 时间:
2019-11-03 01:20:26
阅读次数:
103
gs_restore是GaussDB200提供的与gs_dump配套的导入工具。通过该工具,可将gs_dump导出的文件导入至数据库。这里通过postgreSQL的pg_dump命令备份数据库,然后通过gs_restore将其恢复到GuassDB200中。1、备份PostgreSQL[postgres@oln~]$pg_dump-Fc-Crhnschema>/var/satellite/ba
分类:
数据库 时间:
2019-10-25 18:26:36
阅读次数:
252
Apache 默认 apache2handler 方式运行处理php. 下面说切换方法: 1、下载fastcgi模块,打开https://www.apachelounge.com/download/选择相应的VC版本下载,我的使用VC14编译的,所以选的是VC14版本 2、下载解压后,将mod_fc ...
``` Python ''' Created on Oct 14, 2010 @author: Peter Harrington ''' import matplotlib.pyplot as plt decisionNode = dict(boxstyle="sawtooth", fc="0.8"... ...
分类:
其他好文 时间:
2019-10-05 12:10:16
阅读次数:
131
# -*-coding:utf-8-*- import arcpy import pyodbc import os # 指定工作空间 arcpy.env.workspace = r"E:\shp" # 2000坐标系 fc_2000 = "YDBP_2000.shp" cursor_2000 = a ...
分类:
数据库 时间:
2019-09-27 10:59:46
阅读次数:
150
Infortrend普安科技新一代统一存储系统EonStorGSGen2、全闪阵列EonStorGSaGen2正式发布!GS/GSaGen2支持32GbFC和25GbE连接,具有出色的性价比。GS/GSaGen2搭载Intel先进的CPU平台,具备更高的带宽、更大的内存容量、每核心的性能也会更强。与前代相比,GS/GSaGen2性能提升高达80%,能够满足如今企业级数据环境(例如,数据中心、HPC
分类:
其他好文 时间:
2019-09-19 17:59:15
阅读次数:
111
1. ubuntu 下查看当前字体库命令: fc-list /usr/share/fonts/chinese/msyhbd.ttf: Microsoft YaHei UI:style=Bold,Negreta,tu?né,fed,Fett,?ντονα,Negrita,Lihavoitu,Gras, ...
分类:
系统相关 时间:
2019-09-19 12:21:58
阅读次数:
103
FC Codelona is trying to assemble a team from a roster of available players. They have a minimum number of players they want to sign and each player n ...
分类:
其他好文 时间:
2019-09-12 10:24:12
阅读次数:
353
一、存储卷的类型 emptyDir:在宿主机上分一块内存空间给pod当做存储空间 hostPath:在宿主机上分一块磁盘空间给pod当做存储空间 网络存储: SAN:iSCSI,FC NAS:nfs,cifs 分布式存储:glusterfs,rbd,cephfs,... 云存储:EBS,Azure, ...
分类:
Web程序 时间:
2019-08-31 18:57:13
阅读次数:
125