数据库安装,待完善 https://www.cnblogs.com/wendy-0901/p/12673705.html https://blog.csdn.net/yougoule/article/details/56680952 数据库启动 service mysql start; 数据库关闭 ...
分类:
数据库 时间:
2021-04-13 11:43:45
阅读次数:
0
1、var和let声明变量 // var 声明的变量没有局部作用域 // let 声明的变量 有局部作用域 { var a = 0 let b = 1 } console.log(a) // 0 console.log(b) // ReferenceError: b is not defined / ...
分类:
其他好文 时间:
2021-04-13 11:40:02
阅读次数:
0
MySQL:系统提供了很多函数 Count:统计个数,次数,null不统计 Max:最大值 Min:最小值 Sum:求和 Avg:平均值 Round:四舍五入 ...
分类:
其他好文 时间:
2021-04-12 12:55:32
阅读次数:
0
1 def find_worldByName(c_name,continent): 2 print(c_name) 3 print(continent) 4 sql = " SELECT * FROM world WHERE 1=1 " 5 if(c_name!=None): 6 sql=sql+" ...
分类:
数据库 时间:
2021-04-12 12:45:06
阅读次数:
0
1. vi /etc/my.cnf 2. update mysql.user set authentication_string=password('123456') where user='root' and host='localhost'; 3. FLUSH PRIVILEGES; ...
分类:
数据库 时间:
2021-04-12 12:44:01
阅读次数:
0
例如MySQL的端口3306 firewall-cmd --zone=public --add-port=3306/tcp --permanent 重启防火墙并查看是否生效 firewall-cmd --reload #重启firewall firewall-cmd --list-ports #查看 ...
分类:
其他好文 时间:
2021-04-12 12:43:20
阅读次数:
0
一、Q:Error connecting to database: Access denied for user ‘zabbix’ @ ‘localhost’ to database ‘zabbix’(PASSWORD:YES) 浏览器输入http://ServerIP/zabbix 查看日志 ta ...
分类:
其他好文 时间:
2021-04-12 12:43:00
阅读次数:
0
-- DENSE_RANK:并列连续排序,并列即相同的值,相同的值保留重复名次,遇到下一个不同值时,依然按照连续数字排名 SELECT emp_no, salary, DENSE_RANK() OVER(ORDER BY salary DESC) as t_rank from salaries; - ...
分类:
数据库 时间:
2021-04-12 12:32:54
阅读次数:
0
When you run hexo g on any web instances, like on AWS or Azure, you might get the following error: (node:3568) ExperimentalWarning: The fs.promises AP ...
分类:
其他好文 时间:
2021-04-12 12:28:51
阅读次数:
0
使用mysql-8.0.23版的,创建用户屡屡失败,最终靠万能的度娘解决: 已知版本信息: C:\Users\Administrator\Desktop\mysql-8.0.23-winx64\mysql-8.0.23-winx64\bin>mysql -Vmysql Ver 8.0.23 for ...
分类:
数据库 时间:
2021-04-12 12:20:25
阅读次数:
0