
mysql
文章平均质量分 63
gavinking0110
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
mysql: error 1524
1、安装mysql 5.7.162、修改my.ini为Python code?123456789101112131415161718192021222324252627282930313233343536373839原创 2016-11-08 12:46:06 · 2198 阅读 · 0 评论 -
mysql常用命令
转自:http://www.jb51.net/article/18667.htm一、连接MYSQL。格式: mysql -h主机地址 -u用户名 -p用户密码1、连接到本机上的MYSQL。首先打开DOS窗口,然后进入目录mysql\bin,再键入命令mysql -u root -p,回车后提示你输密码.注意用户名前可以有空格也可以没有空格,但是密码前必须没有空格,否转载 2016-11-11 15:08:31 · 337 阅读 · 0 评论 -
把mysql的数据表格输出为html
# mysql -u root -p -e"select * from tb_name" -D db_name –H >file_address这里介绍下,-D 这个参数是指定使用哪个数据库 –H 是指定吧结果输出用html格式,也可以这样表示 –html 这样的效果和前面用-H是一样的效果。原创 2016-11-12 00:10:17 · 5973 阅读 · 0 评论 -
python3 pymysql 'latin-1' codec can't encode character 错误 问题解决
转自:http://blog.csdn.net/wanglingxxx/article/details/52049278完整代码:#coding: utf-8import pymysql# 打开数据库连接db = pymysql.connect("localhost","root","00000000","TESTDB" ,use_unicode=T转载 2016-11-25 09:55:57 · 3769 阅读 · 0 评论 -
允许远程用户登录访问mysql的方法
转自:http://www.cnblogs.com/hyzhou/archive/2011/12/06/2278236.html需要手动增加可以远程访问数据库的用户。方法一、本地登入mysql,更改 "mysql" 数据库里的 "user" 表里的 "host" 项,将"localhost"改为"%"#mysql -u root -prootmysql>use转载 2016-12-09 17:23:04 · 738 阅读 · 0 评论 -
mysql 5.7版本无法远程登录服务器的终极解决办法(error 1130)
1、根据网友提示,授权'root'@'%',但是依旧提示error 1130;(授权'root'@'客户端ip地址'同样)2、use mysql,查看user表格,发现host=%的诸多参数与'root'@'localhost'不同,于是强制update参数,依旧提示error 1130;3、发现user里面有'root'@'localhost','root'@'127.0.0.1',原创 2016-12-09 23:54:37 · 5199 阅读 · 0 评论