一、下载安装包: 进入mysql官网 https://www.mysql.com/ 下载免安装版 ...
分类:
数据库 时间:
2021-05-24 12:12:40
阅读次数:
0
因个人能力有限,文章难免存在错误,望斧正,感谢。 版本: macOS 11.3 Intel版本 MySQL 8.0.24 Compressed TAR Archive 一、准备所需文件 前往 https://dev.mysql.com/downloads/mysql/ 选择macOS系统的Compr ...
分类:
数据库 时间:
2021-05-24 12:03:33
阅读次数:
0
Linux操作系统安装好之后,可以通过 df -h 命令查看磁盘挂载信息和空间使用率 [root@localhost ~]# df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 7.8G 0 7.8G 0% /dev tmpfs 7.8 ...
分类:
其他好文 时间:
2021-05-24 11:10:34
阅读次数:
0
使用docker安装mysql8.0,远程登录后提示 caching_sha2_password 。 解决办法如下: 1、进入docker中的mysql:docker exec -it mysql容器id /bin/bash 2、登录: mysql -uroot -p你的密码 3、进入之后: 切换数 ...
分类:
数据库 时间:
2021-05-24 10:14:24
阅读次数:
0
对近期的数据库配置进行一个记录,方便我以后查阅。 我的Django项目配备的是Mysql的数据库,平时使用的工具是VS Code,推荐安装Mysql插件,效果不错: 下面是在项目的setting.py中配置的Mysql连接数据: DATABASES = { 'default': { 'ENGINE' ...
分类:
数据库 时间:
2021-05-24 09:06:47
阅读次数:
0
环境准备,一台CentOS7 安装软件```[root@localhost ~]# yum install mariadb-server -y```创建三个实例的目录```[root@localhost ~]# mkdir /mysql/{3306,3307,3308}/{data,etc,sock ...
分类:
数据库 时间:
2021-05-24 08:17:38
阅读次数:
0
1.设置环境变量 # echo 'PATH=/opt/opsmgr/web/components/postgresql96linux64.1/bin/:$PATH' >> /etc/profile # echo 'export PGPASSWORD=ytcmUUNq' >> /etc/profile ...
分类:
数据库 时间:
2021-05-24 08:13:18
阅读次数:
0
环境:Linux centos7.6 +Python 2.7.5+DM8 必须安装dmPython。 安装包可以在1139926252QQ群里的文件中下载,下载好后上传到linux服务器中。 一、安装dmPython Python 有现成的mysql,oracle 等数据库包,可以直接import ...
分类:
数据库 时间:
2021-05-24 08:02:14
阅读次数:
0
启动/关闭、启用/禁用服务:启动一个服务:systemctl start postfix.service关闭一个服务:systemctl stop postfix.service重启一个服务:systemctl restart postfix.service显示一个服务的状态:systemctl s ...
分类:
其他好文 时间:
2021-05-24 07:50:03
阅读次数:
0
firewall的操作 1.firewalld的基本使用 启动: systemctl start firewalld查状态:systemctl status firewalld 停止: systemctl disable firewalld禁用: systemctl stop firewalld在开 ...
分类:
其他好文 时间:
2021-05-24 06:54:27
阅读次数:
0