3分钟内快速部署MySQL5.6.35数据库实践
发表于:2025-11-07 作者:千家信息网编辑
千家信息网最后更新 2025年11月07日,3分钟内快速部署MySQL5.6.35数据库实践1、下载软件wget -q http://mirrors.sohu.com/mysql/MySQL-5.6/mysql-5.6.35-linux-gli
千家信息网最后更新 2025年11月07日3分钟内快速部署MySQL5.6.35数据库实践
3分钟内快速部署MySQL5.6.35数据库实践
1、下载软件
wget -q http://mirrors.sohu.com/mysql/MySQL-5.6/mysql-5.6.35-linux-glibc2.5-x86_64.tar.gz
2、解压移动
tar xf mysql-5.6.35-linux-glibc2.5-x86_64.tar.gz mkdir -p /applicationmv mysql-5.6.35-linux-glibc2.5-x86_64 /application/mysql-5.6.35useradd -s /sbin/nologin -M mysqlchown -R mysql.mysql /application/mysql-5.6.35/cd /application/mysql-5.6.35/
3、初始化数据库
cp support-files/my-default.cnf /etc/my.cnf./scripts/mysql_install_db --basedir=/application/mysql-5.6.35/ --datadir=/application/mysql-5.6.35/data/ --user=mysqlsed -i 's#/usr/local/mysql#/application/mysql-5.6.35#g' /application/mysql-5.6.35//bin/mysqld_safe
4、启动登录
/application/mysql-5.6.35//bin/mysqld_safe &lsof -i :3306PATH="/application/mysql-5.6.35/bin/:$PATH"
5、登录测试
[root@oldboy mysql-5.6.35]# mysqlWelcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 2Server version: 5.6.35 MySQL Community Server (GPL)Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.Oracle is a registered trademark of Oracle Corporation and/or itsaffiliates. Other names may be trademarks of their respectiveowners.Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.mysql> select version();+-----------+| version() |+-----------+| 5.6.35 |+-----------+1 row in set (0.00 sec)mysql> create database oldboy;Query OK, 1 row affected (0.00 sec)mysql> create database oldgirl;Query OK, 1 row affected (0.00 sec)mysql> show databases like 'old%';+-----------------+| Database (old%) |+-----------------+| oldboy || oldgirl |+-----------------+2 rows in set (0.00 sec)
6、配置安全策略:
[root@oldboy mysql-5.6.35]# mysql_secure_installation
数据
数据库
登录
实践
安全
下载软件
策略
软件
测试
移动
配置
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
校园网络安全防范方案
服务器 php
服务器浏览器安全
服务器是怎么感染勒索病毒的
超欧网络技术公司
嘉兴南湖区靠谱软件开发
创建数据库设置日期
跨平台跨数据库的面向对象
什么软件开发网站好用
网络安全规范用语微信拍一拍
30岁后再做软件开发
软件开发工程师免费简历模板
部队小品网络安全
学习通网络技术的答案
印度互联网it科技行业
苹果手机软件开发收费标准
广电网络技术支撑年终总结
山东省通信网络安全中心电话
陇南网络安全宣传周话题
计算机一级网络技术分值
查看数据库中所有集合代码
网络安全法要求建设关键
穿越火线服务器停止时间
asp技术访问数据库过程
美特好kk服务器地址
常用数据库工具
数据库sql use添加表
数据库系统原理实验
网络安全一起争做中国好网民
凑韵网络技术