Category Archives: MySQL

python使用MySQLdb模块连接MySQL

python使用MySQLdb模块连接MySQL 1.安装驱动 目前有两个MySQL的驱动,我们可以选择其中一个进行安装: MySQL-python:是封装了MySQL... Read More | Share it now!

DUMP LOAD data from mysql to mysql

The ‘mysqldump’ command is used to dump databases managed by MySQL. Let’s consider three the most useful cases of MySQL database dumping. Load table ... Read More | Share it now!

How to solve the problem” caching_sha2_password” problem

如果是mysql服务器版本大于8.0.4,默认使用caching_sha2_password授权插件,而不是5.6/5.7使用的mysql_native_password进行身份验证。下面方法更改root账户的远程登录验证插件为mysql_native_password$ docker exec... Read More | Share it now!

‘pip install MySQL-python’ fails with ‘IndexError’ on Mac

By finding out the information that mysql-connector-cmight come to the conclusion that the configuration by brew installation may be incorrect , open the /usr/local/bin/mysql_config script to modify some of the contents of it: change... Read More | Share it now!

MySQL Pretty Print in Command Line

I was looking for a better way to output mysql tables in console, and came across the following gem: mysql> pager less -SFX mysql> SELECT * FROM... Read More | Share it now!

Docker 安装 MySQL

http://www.runoob.com/docker/docker-install-mysql.html 方法一、docker pull mysql 查找Docker Hub上的mysql镜像 runoob@runoob:/mysql$ docker search mysql NAME DESCRIPTION STARS ... Read More | Share it now!

How To Install MySQL on Ubuntu 16.04

Introduction MySQL is an open-source database management system, commonly installed as part of the popular LAMP(Linux, Apache, MySQL, PHP/Python/Perl) stack. It uses a relational database and SQL (Structured Query Language) to manage its data. The... Read More | Share it now!