12 2017 档案

开启MySQL远程访问权限 允许远程连接
摘要:1、登陆mysql数据库 mysql -u root -p 查看user表 mysql> use mysql;Database changedmysql> select host,user,password from user;+ + + +| host | user | password |+ + 阅读全文

posted @ 2017-12-28 13:03 sunny_2016 阅读(85) 评论(0) 推荐(0) 编辑

各版本mysql修改root密码
摘要:今天在安装mysql5.7.8的时候遇到一些问题,首当其冲便的是初始root密码的变更,特分享解决方法如下: 1.mysql5.7会生成一个初始化密码,而在之前的版本首次登陆不需要登录。 shell> cat /root/.mysql_secret # Password set for user ' 阅读全文

posted @ 2017-12-28 12:54 sunny_2016 阅读(572) 评论(0) 推荐(0) 编辑

mysql命令大全一
摘要:mysql -u root -p;create database qa;show databases;use qa; create table results(id int not null auto_increment,primary key (id));) alter table results 阅读全文

posted @ 2017-12-21 14:08 sunny_2016 阅读(132) 评论(0) 推荐(0) 编辑

python中的装饰器
摘要:#coding=utf-8"""def funA(arg): print 'A' a = arg() @funA def funB(): print 'B'"""'''python类里会出现这三个单词,self和cls都可以用别的单词代替,类的方法有三种, 一是通过def定义的 普通的一般的,需要至 阅读全文

posted @ 2017-12-16 12:56 sunny_2016 阅读(107) 评论(0) 推荐(0) 编辑

pyse基本操作命令一
摘要:#coding=utf-8import timefrom selenium import webdriverdr = webdriver.Chrome()# dr = webdriver.Ie()dr.maximize_window()dr.implicitly_wait(3)dr.get("htt 阅读全文

posted @ 2017-12-06 13:55 sunny_2016 阅读(408) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示