Easter79 Easter79
3年前
tidb 数据导入流程
tidb批量数据导入命令tidb数据导出命令1.设置mysql的binlog格式为rowshowvariableslike'binlog_format'2.将mysql数据导出./bin/mydumperhmysqlip P3306urootppasswordt16F64Bdata
御弟哥哥 御弟哥哥
4年前
mysql表和字段的操作
(3)mysql表和字段的操作(3)mysql表和字段的操作创建表createtablename(idint,studentvarchar(20));查看表结构常用describe表名;修改表名老表rename新表ALTERTABLEtb\_men
Wesley13 Wesley13
3年前
MySQL学习【第三篇用户管理】
一.用户管理1.给mysql用户设密码以及删除用户1.给mysql的root用户设置密码root@db02scriptsmysqladminurootppassword'123'2.连接mysqlroot@db01~mysqluroo
Wesley13 Wesley13
3年前
mysql的一些操作命令
1、查看mysql数据库SHOWDATABASES;(;号一定要加)2、创建root用户密码mysqladminurootpassword"new\_password"3、检查mysql服务器是否启动psef|grepmysqld4、添加用户方法:GR
Wesley13 Wesley13
3年前
VirturalBox中搭建CentOS开发环境实录(二)
安装MySQL_Yum__安装:_官方安装步骤:http://dev.mysql.com/doc/refman/5.7/en/linuxinstallationyumrepo.html(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fdev.
Wesley13 Wesley13
3年前
MySQL报错解决方案:2013
MySQL报错解决方案:2013LostconnectiontoMySQLserver参考文章:(1)MySQL报错解决方案:2013LostconnectiontoMySQLserver(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fwww.cod
Stella981 Stella981
3年前
HOST is not allowed to connect to this mysql server
!(https://oscimg.oschina.net/oscnet/77684be3437d04b37952adb40064ffbec86.png) HOSTisnotallowedtoconnecttothismysqlserverhost主机不能访问本机的mysql服务,原因需要连接非本机的mysql的时候,默认host
Wesley13 Wesley13
3年前
mysql10.3修改默认存储路径
版本为10.3的用该种方式修改:创建/data/mysql目录mkdirp/data/mysql给这个目录至少要附加读写权限chmod777/data/mysqlr把mariadb服务停掉systemctlstopmariadb把/v
Wesley13 Wesley13
3年前
MySQL中 IS NULL、IS NOT NULL、!= 能用上索引吗?
看面试题的时候,总能看到MySQL在什么情况下用不上索引,如下:MySQL的WHERE子句中包含ISNULL、ISNOTNULL、!这些条件时便不能使用索引查询,只能使用全表扫描。不耽误大家时间,告诉大家结论:<fontcolor"5CACEE"MySQL中决定使不使用某个索引执行查
Wesley13 Wesley13
3年前
mysql中int、bigint、smallint 和 tinyint的区别与长度
通过创建一张表,来看看mysql中intbigintsmallint和tinyint的区别与长度1、在mysql命令行创建如下表CREATETABLEtest_int_1(int_idintNOTNULL,bigint_idbigintDEFAULTNULL,