mysql
文章平均质量分 56
逐鹿艾缇
这个作者很懒,什么都没留下…
展开
-
MySQL DATE_FORMAT() 函数
MySQL DATE_FORMAT() 函数 定义和用法 DATE_FORMAT() 函数用于以不同的格式显示日期/时间数据。 语法 DATE_FORMAT(date,format) date 参数是合法的日期。format 规定日期/时间的输出格式。 可以使用的格式有: 格式 描述 %a 缩写星期名 %b 缩写月名 %c 月,数值 %D 带有英文前缀的月中的天 %d 月的天,数值(00-31) %e 月的天,数值(0-31) %f 微秒 %H 小时 (00-原创 2021-07-20 09:21:16 · 163 阅读 · 0 评论 -
虚拟机访问本地mysql server报错:ERROR 1130 (HY000): Host ‘192.168.1.178‘ is not allowed to connect to this Mar
我本地的虚拟机访问本地的win10系统搭建的MariaDB报错:ERROR 1130 (HY000): Host '192.168.1.178' is not allowed to connect to this MariaDB server 解决办法: 打开mysql服务端,登录并执行以下命令: MariaDB [(none)]> grant all privileges on *.* to 'root'@'%'identified by 'zhbr2281'with grant opt原创 2020-08-21 10:04:11 · 342 阅读 · 0 评论 -
Linux安装mysql客户端时报错:E: Package ‘mariadb-client-core-10.3‘ has no installation candidate
Linux安装mysql客户端时报错:E: Package 'mariadb-client-core-10.3' has no installation candidate 网上找的解决办法(https://blog.csdn.net/pl19920614/article/details/53966217/): $ apt-get update $ apt-get upgrade $ apt-get install packagename 但是仍旧报错 报错信息很明显,E: Coul.原创 2020-08-21 09:33:55 · 895 阅读 · 0 评论