mysql inet_aton 与 inet_ntoa 方法

2020-7-10 dingshangchao 数据库

mysql提供了两个方法来处理ip地址
inet_aton 把ip转为无符号整型(4-8位)
inet_ntoa 把整型的ip转为电地址

阅读全文>>

评论(0) 浏览(826)

Mysql删除表提示Cannot truncate a table referenced in a foreign key constraint解决办法

2020-6-16 dingshangchao 数据库

执行truncate table xxx时提示:[Err] 1701 -Cannot truncate a table referenced in a foreign key constraint ….

阅读全文>>

标签: 数据库

评论(0) 浏览(1060)

mysql 常见错误:Can't create table... errno150原因分析

2020-6-12 dingshangchao 数据库

mysql建表时常见错误:Can't create table... errno150主要有以下原因:

阅读全文>>

评论(0) 浏览(756)

MySQL的四种事务隔离级别

2019-10-31 hubo 数据库

MySQL的四种事务隔离级别

阅读全文>>

评论(0) 浏览(825)

mysql优化相关注意事项

2019-10-25 hubo 数据库

mysql优化相关注意事项

阅读全文>>

评论(0) 浏览(878)

Mysql自动断开连接的问题处理

2019-9-29 zhulinan 数据库

mysql默认连接等待时间是为(28800s)即8h,如果Mysql超过8小时无连接,将自动断开 ...

阅读全文>>

评论(0) 浏览(1056)

MySQL登录时出现 Access denied for user 'root'@'xxx.xxx.xxx.xxx' (using password: YES) 解决办法

2019-7-18 hubo 数据库

MySQL登录时出现 Access denied for user 'root'@'xxx.xxx.xxx.xxx' (using password: YES) 解决办法

阅读全文>>

评论(0) 浏览(1840)

细说MySQL的时间戳(Timestamp)类型

2019-5-24 dingshangchao 数据库

生产环境中部署着各种版本的MySQL,包括MySQL 5.5/5.6/5.7三个大版本和N个小版本,由于MySQL在向上兼容性较差,导致相同SQL在不同版本上表现各异,下面从几个方面来详细介绍时间戳数据类型。

阅读全文>>

评论(0) 浏览(3468)

对mysql数据库初始化过程中报错 Could not find ./bin/my_print_defaults

2019-4-26 dingshangchao 数据库

对mysql数据库初始化过程中,会有如下报错信息:
1
2
3
4
5
6
7
[root@localhost scripts]# ./mysql_install_db --user=mysql
FATAL ERROR: Could not find ./bin/my_print_defaults
If you compiled from source, you need to run 'make install' to
copy the software into the correct location ready for operation.
If you are using a binary release, you must either be at the top
level of the extracted archive, or pass the --basedir option
pointing to that location.

阅读全文>>

评论(0) 浏览(1110)

mysql修改用户密码的方法及命令

2019-4-17 dingshangchao 数据库

mysql修改用户密码的几种方法

阅读全文>>

标签: 数据库

评论(0) 浏览(995)

网站备案号:京ICP备11043289号-1 北京市公安局网络备案 海1101084571
版权所有 北京育灵童科技发展有限公司 Copyright © 2002-2024 www.elight.cn, All Rights Reserved