-- info 为列名
SELECT convert(info using latin1) FROM drupal755.system; SELECT convert(info using utf8) FROM drupal755.system;

效果图:(结果太长,只截取了部分)

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAA8wAAAAtCAIAAAD0unWDAAAOjklEQVR4nO1dyW4jORLNfzI64foWX6ZSjfoNXS2rgDr7Zp3dsOU+1Mlz0A944EV1KUADf0BD6CrbWlwDzkFKJpcILpmUlFK/wDvIFBmMjcEglZKzf/8lVri4uBAgEAgEAoFAIBCoMWUoskEgEAgEAoFAoLSEIhsEAoFAIBAIBEpMKLJBIBAIBAKBQKDEtB9F9vcvH7Ls01d/x6+fsizLwvpulL5/+fDhy/f0fL9+yrKNMAaBQCAQCAQCpaMWFtlWffr9ywdZNTuL16+fkhagTQpldqz+hn+Kr5/ME0NiLUEgEAgEAoFAyWkPiuzgonJTt8d1KLDIdhJ3La8eOkAgEAgEAoFALSStyH5//zWbLyl8O8uzNeWfn+bL2fhz2XB8Nl7OVi3557OO2vjtLM+Km5LJze/rsRU3e+xxLidaz/VnIbuVPZ+IuZbDjhx2fDamJFSx4mO9lkzy/jfHXLP5cjb/s8j0GS3+w/5xpUr/m2bGlXaeKVaz/D403UE2AgAAAAAAAG2BVmQv33+9zRY2hkWWFTdKy7iXZ8Vw8TZbvA07Wd5/nC3envp5ZjUOO3LgsMjys7H6gh47G/fy495TOddTP1/1Uf8k59IGUhKqUNnK11XPm97Z2DdXqcXspsgUgTmx130o7egpFiXzztD0iM4EAAAAAAAAaBlCimyrztMqyLLEJMvWaqysRFVu1FijglTK9IozPZcykJSQU4Eosn1zPfVzWwvWRKpsTJFNqMMYf7Z4my2GhTyTAAAAAAAAAK1DQJGtFZSLt5lRjJZ3xkyluC4H9UtrhTZTZJMSGkrRHNZiVRr5y3FXkf14dqxpiiIbAAAAAADgHwC9yF6+v77NTTz286xzzbbcFFnee5y/PvbzvP8gO8jXw05W3Dz08mIo++vcjP5v416e9x7Jt8o/6bmUgaSEnArGFG/zh16eyVnIub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fFOyJgB8emSVZldSvse+xkMDs3V06PVBEt5Zva5DdvXANrv3ZyUgjx5IjSxTcxC0Zm7Bm/PGBR+2qCW3+XiQZ6F8+k7N+KIoYeK9FmN1rRT8yOEmV7fxbWRUf5Z/DpyYWN5mx0DZcPcTmiPzgrlqLli+KaERUhyqzNZ+Bko3rA5jGR21wsW6ma6PrTvwSydgHG85crk2w57ojM13aokKlgVFZndzRukUYb6WKDkRNUgN2RiIFn5mYmdyCZxDKlUnc1ElU+KVYPaf9jVLRYfsL3OsW3LqLSYEzxTQcPM6Ko+DdOBxbczqISy5YjTxIryJ1yZ1HRO6R6kdmpur1bDSdWzac/G2P/br1ri6xK4TjvyHete35NGWq9ZEbar3WPi3dEwA6OTXOLqsrqVngJ/+Ey+p/srB6Jz5iWSDK+Yz7uWbTXOhqtWmtvtq3WJMBIM5b4VBeM+uw1LKoOjzcbSGtKZhqpJds05qDIgVYrtW6iwps6r8oVXs6/lx+od4drx8PscgVuHtTD4Ja3sZyojTRaNROpe1NZDVutWYBZ3ICb/CWyqn8vH/cv1ZYtdpM4YP7sY03ZpuY8WTKlrEZqjTPjeim8qfOqQeHlFN8gCIIgCIIg+Askim8QBEEQBEEQbIgovkEQBEEQBEGwIf4fnh+nRKkkvQYAAAAASUVORK5CYII=" alt="" />

Mysql转化blob为可读的更多相关文章

  1. MySQL数据库读写分离、读负载均衡方案选择

    MySQL数据库读写分离.读负载均衡方案选择 一.MySQL Cluster外键所关联的记录在别的分片节点中性能很差对需要进行分片的表需要修改引擎Innodb为NDB因此MySQL Cluster不适 ...

  2. PHP操作Mysql中间BLOB场

    1.MySQL在BLOB字段类型 BLOB场的类型用于存储二进制数据. MySQL在.BLOB它是一种类型的一系列.含有:TinyBlob.Blob.MediumBlob.LongBlob.大小上不同 ...

  3. MySQL 是如何解决幻读的

    MySQL 是如何解决幻读的 一.什么是幻读 在一次事务里面,多次查询之后,结果集的个数不一致的情况叫做幻读. 而多出来或者少的哪一行被叫做 幻行 二.为什么要解决幻读 在高并发数据库系统中,需要保证 ...

  4. jdbc,mysql 数据库BLOB返回值 [B 的问题

    当jdbc返回值类型对应的java类型是[B,那就表示返回值的类型比较模糊难以区分: BLOB类型是mysql数据库常用来存储,但是通过getBlob()方法获取值得时候会报错: 错误信息: java ...

  5. MySQL的blob类型

    MySQL中的Blob类型 MySQL中存放大对象的时候,使用的是Blob类型.所谓的大对象指的就是图片,比如jpg.png.gif等格式的图片,文档,比如pdf.doc等,以及其他的文件.为了在数据 ...

  6. 何为幻读?MySQL又是如何解决幻读的?

    一.什么是幻读 在一次事务里面,多次查询之后,查询的结果集的个数不一致的情况叫做幻读.而多出来或者少的哪一行被叫做 幻行 二.为什么要解决幻读 在高并发数据库系统中,需要保证事务与事务之间的隔离性,还 ...

  7. Mysql(Innodb)如何避免幻读

    Mysql(Innodb)如何避免幻读 有意思 MySQL InnoDB支持三种行锁定方式: 行锁(Record Lock):锁直接加在索引记录上面,锁住的是key. 间隙锁(Gap Lock):锁定 ...

  8. 【大厂面试03期】MySQL是怎么解决幻读问题的?

    问题分析 首先幻读是什么? 根据MySQL文档上面的定义 The so-called phantom problem occurs within a transaction when the same ...

  9. [MySQL数据库之事务、读现象、数据库锁机制、多版本控制MVCC、事务隔离机制]

    [MySQL数据库之事务.读现象.数据库锁机制.多版本控制MVCC.事务隔离机制] 事务 1.什么是事务: 事务(Transaction),顾名思义就是要做的或所做的事情,数据库事务指的则是作为单个逻 ...

随机推荐

  1. loadrunner 日志

    loadrunner 日志包括两个部分 1.在VUGEN中运行后的日志,日志存放在脚本目录下output.log2.在controller中运行后的日志, result setting 设置目录 1. ...

  2. TESTNG重试、截屏、监听

    http://qa.blog.163.com/blog/static/19014700220138585422735/

  3. js函数的一些技巧

    1 函数的引用可以直接通过函数名来调用 bind: function (fn, scope) { return function () { return fn.apply(scope, argumen ...

  4. Python之异步IO&RabbitMQ&Redis

    协程: 1.单线程运行,无法实现多线程. 2.修改数据时不需要加锁(单线程运行),子程序切换是线程内部的切换,耗时少. 3.一个cpu可支持上万协程,适合高并发处理. 4.无法利用多核资源,因为协程只 ...

  5. 把对象转换成map

    public static Map toMap(Object object){ Map _result = new CaseInsensitiveMap(); if (object != null) ...

  6. digitalocean vpn安装配置教程

    digitalocean是美国一家专业的vps提供商,优势是性价比高,最低配置512MB内存vps每月只要5美元,导致大陆用户疯狂涌入.关于digitalocean申请方法.digitalocean速 ...

  7. Java 算法

    1.简单的冒泡排序 //冒泡算法一共两种 // -----冒泡算法(1) int a[]={23,69,4,58,1,20}; for (int i = 0; i < a.length-1; i ...

  8. chapter 13_3 table访问的元方法

    前两节的算术类.关系类运算符的元方法都为各种错误情况定义了行为,它们不会改变语言的常规行为. 但是Lua还提供了两种可以改变table行为的方法: 一种是查询table中不存在的字段.一种是修改tab ...

  9. NOIP2010-普及组复赛-第一题-数字统计

    题目描述 Description 请统计某个给定范围[L, R]的所有整数中,数字 2 出现的次数. 比如给定范围[2, 22],数字 2 在数 2 中出现了 1 次,在数 12 中出现 1 次,在数 ...

  10. stl 生产全排列 next_permutation

    #include<stdio.h>#include<algorithm>using namespace std;int main(){ int n,p[10]; scanf(& ...