摘要: CentOS查看版本有如下: cat /etc/redhat-release uname -a cat /etc/issue #这个7以上看不了 cat /proc/version #这个是和内核有关的数据 getconf LONG_BIT or getconf WORD_BIT #查看版本位数是6 阅读全文
posted @ 2020-05-04 10:32 疯疯月 阅读(407) 评论(0) 推荐(0) 编辑
摘要: 1. 在命令行中直接查看版本号 mysql -V 2. 在 mysql --help 中查找与版本相关的信息 mysql --help | grep Ver 3. 在mysql命令行里面查看版本信息 mysql -u root -p select version(); 4. 在mysql命令号里面查 阅读全文
posted @ 2020-05-04 10:25 疯疯月 阅读(1335) 评论(0) 推荐(0) 编辑
摘要: 1. 登录mysql 1 2 mysql -u root -p //输入密码 2. 使用命令show global variables like 'port';查看端口号 1 mysql> show global variables like 'port'; 3. 修改端口 编辑/etc/my.cn 阅读全文
posted @ 2020-05-04 10:20 疯疯月 阅读(7087) 评论(0) 推荐(0) 编辑
摘要: Centos 下mysql数据库完整安装过程 1. 检查系统自带的Mysql,并卸载自带的版本 yum list installed |grep mysql [root@iZ2366ycl7sZ config]# yum list installed |grep mysql mysql.x86_64 阅读全文
posted @ 2020-05-04 00:14 疯疯月 阅读(679) 评论(0) 推荐(0) 编辑