mysql
okman312
底层it工作者
展开
-
mysql load data infile 报错 1290 处理方法
1、查看"secure-file-priv"指定的目录。用管理员登录连接数据库,执行命令"show variables like ‘%secure%’;2、将导入文件传入对应的目录,再次导入。原创 2023-07-02 16:56:27 · 428 阅读 · 0 评论 -
找不到MSVCR120.dll
在windos平台启动Mysql5.7时提示“找不到MSVCR120.dll,无法执行代码”。安装对应的dll动态库程序。原创 2022-12-12 16:37:50 · 139 阅读 · 0 评论 -
mysql故障1
Mysql启动失败报错如下MySQL ERROR! The server quit without updating PID file启动日志提示如下:2020-09-08T08:45:53.168440Z 0 [ERROR] InnoDB: mmap(137428992 bytes) failed; errno 122020-09-08T08:45:53.168450Z 0 [ERROR] InnoDB: Cannot allocate memory for the buffer pool2原创 2020-09-08 17:06:43 · 114 阅读 · 0 评论 -
第16周
题1mysql的数据库备份脚本[root@use07 ~]# cat sqlback.sh #!/bin/bashwhile true;docat<<EOF backup mode: full databases -- f single databases -- sEOFread -p "enter f|s: " cho if [ $cho == 'f' -o $cho == 'F' ];then while true;do原创 2020-08-29 21:36:26 · 71 阅读 · 0 评论 -
mariadb安装与卸载插件
mariadb上有很多功能插件,下面简要的说一下在命令行中的安装与卸载方法。本例以实现半同步功能的插件为例。安装MariaDB [(none)]> install plugin rpl_semi_sync_slave soname 'semisync_slave.so';Query OK, 0 rows affected (0.00 sec)卸载MariaDB [(none)]> uninstall plugin rpl_semi_sync_slave;Query OK, 0 ro原创 2020-08-17 20:43:31 · 796 阅读 · 0 评论 -
mariadb创建函数报错
MariaDB [hellodb]> create function simpleFun() returns varchar(20) return "hello world!";ERROR 1418 (HY000): This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use th原创 2020-08-06 08:28:03 · 373 阅读 · 0 评论