随笔 - 80  文章 - 0  评论 - 3  阅读 - 37371

随笔分类 -  mysql

kepserverEX 5.11通过ODBC连接mysql提示"Failed to automatically generate tags for device 'Device1'. "问题解决
摘要:kepserverEX5.11连接mysql,测试连接数据库正常, 但是建立设备后提示错误: Date Time Level Source Event2022-08-18 18:24:12 Error ODBC Client Failed to automatically generate tags 阅读全文
posted @ 2022-08-18 18:45 flash610 阅读(598) 评论(0) 推荐(0) 编辑
mysql5.7执行sql语句成功,但是报错Err:1055
摘要:无论执行什么sql语句都报错: [Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'information_schema.PROFILIN 阅读全文
posted @ 2022-05-27 16:53 flash610 阅读(291) 评论(0) 推荐(0) 编辑
mysql5.7修改my.ini的默认字符集后,无法重启服务
摘要:在my.ini配置文件中加了一条default-character-set=utf8服务无法启动 最后发现是文本保存的默认字符集不对,记事本默认的字体为: 用notepade++打开此文件,保存为utf8;重启服务成功; 阅读全文
posted @ 2022-05-27 16:41 flash610 阅读(257) 评论(0) 推荐(0) 编辑
mysql5.7.36安装
摘要:1.将官网下载的mysql5.7.36.zip解压到D:\program files下 2.新建my.ini文件(文件格式保存为ANSI格式,否则下面执行mysqld --initialize --console命令时会报错) [mysqld]character-set-server=UTF8MB4 阅读全文
posted @ 2022-05-14 09:53 flash610 阅读(515) 评论(0) 推荐(0) 编辑
无法创建mysql的ODBC数据源
摘要:组态王连mysql数据库需要手动创建ODBC数据源。但是从 控制面板-系统和安全-管理工具数据源(ODBC)-添加 没有mysql的ODBC驱动。 解决方法: 在win7控制面板中的ODBC默认是64位的,所以不可用!需要用“C:\Windows\SysWOW64\odbcad32.exe”才能创建 阅读全文
posted @ 2022-03-29 15:35 flash610 阅读(340) 评论(0) 推荐(0) 编辑
mysql执行存储过程报错:ERROR 1449:The user specified as a definer ('skip -grants user'@'skip -grants host') does not exist
摘要:没有权限。 解决方法如下: mysql>grant all privileges on *.* to 'skip-grants user'@'skip-grants host' identified by "."; 阅读全文
posted @ 2022-03-08 09:56 flash610 阅读(652) 评论(0) 推荐(0) 编辑
mysql备份与还原
摘要:1. mysqldump mysqldump 是 MySQL 自带的逻辑备份工具。 它的备份原理是通过协议连接到 MySQL 数据库,将需要备份的数据查询出来,将查询出的数据转换成对应的insert 语句,当我们需要还原这些数据时,只要执行这些 insert 语句,即可将对应的数据还原。 命令格式: 阅读全文
posted @ 2021-12-01 10:00 flash610 阅读(50) 评论(0) 推荐(0) 编辑
在过程中执行truncate table总是报语法错误
摘要:源代码如下: BEGIN DECLARE i INT; DECLARE time_1 datetime; DECLARE ID_1 int; DECLARE charge_1 FLOAT; DECLARE length_1 FLOAT; DECLARE err_1 FLOAT; DECLARE RS 阅读全文
posted @ 2021-05-25 13:39 flash610 阅读(507) 评论(1) 推荐(0) 编辑
mysql字符集介绍
摘要:mysql字符集介绍及linux下字符集的修改 阅读全文
posted @ 2013-05-23 11:38 flash610 阅读(162) 评论(0) 推荐(0) 编辑
navicat 出现乱码的解决方法
摘要:navicat中出现乱码的解决方法 阅读全文
posted @ 2013-05-23 11:32 flash610 阅读(1034) 评论(0) 推荐(0) 编辑
mysql命令大全
摘要:mysql命令大全 阅读全文
posted @ 2013-05-21 08:42 flash610 阅读(358) 评论(0) 推荐(0) 编辑
启动和停止MySQL服务
摘要:启停mysql服务 阅读全文
posted @ 2013-05-20 18:23 flash610 阅读(195) 评论(0) 推荐(0) 编辑
mysql数据库与表基本命令盘点
摘要:基本命令 阅读全文
posted @ 2013-05-20 17:14 flash610 阅读(126) 评论(0) 推荐(0) 编辑
mysql删除重装 服务添加问题
摘要:今天装了个mysql没成功,二次安装不了,于是把有关mysql的所有信息都删除了,包括注册表,服务,还有进程。结果,可以了但是服务添加不了。费了牛劲才找到以下方法: 1、打开cmd,切换到mysql的bin目录下 2、 D:\Program Files\MySQL5.1\bin>mysqld.exe -install Service successfully installed. 3、 D:\Program Files\MySQL5.1\bin>net start mysql MySQL 服务已经启动成功。 打开服务列表,看到mysql服务了 阅读全文
posted @ 2013-05-17 17:48 flash610 阅读(226) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示